import 'package:flutter/services.dart'; import 'dart:convert'; const String configJSONPath = 'assets/group3.json'; Future> loadLocalConfigJSON() async { String content = await rootBundle.loadString(configJSONPath); return jsonDecode(content); } List? jsonPropertyAsList(dynamic property) => property != null ? List.from(property) : null; Map stringToJSON(String jsonString) => jsonDecode(jsonString);