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