fromJson<T extends PassageFlutterModel> function
Implementation
T fromJson<T extends PassageFlutterModel>(String jsonString, Function fromMap) {
Map<String, dynamic> map = jsonDecode(jsonString);
return fromMap(map) as T;
}