RuntimeList.fromMap constructor
Implementation
factory RuntimeList.fromMap(Map<String, dynamic> map) {
return RuntimeList(
total: (map['total'] is String)
? int.tryParse(map['total']) ?? 0
: map['total'] ?? 0,
runtimes:
List<Runtime>.from(map['runtimes'].map((p) => Runtime.fromMap(p))),
);
}