fromJson method
Implementation
@override
List<Text> fromJson(Map<String, dynamic> json) {
return json.entries.map((e) {
final data = (e.value as Map<String, dynamic>)
..putIfAbsent('key', () => e.key);
return Text.fromJson(data);
}).toList();
}