mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
database: Fix type error
This commit is contained in:
parent
ad022a6640
commit
7c5994da3a
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class WorkInfo {
|
|||
composers:
|
||||
json['composers'].map<Person>((j) => Person.fromJson(j)).toList(),
|
||||
parts:
|
||||
json['parts'].map<WorkInfo>((j) => WorkInfo.fromJson(j)).toList(),
|
||||
json['parts'].map<PartInfo>((j) => PartInfo.fromJson(j)).toList(),
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue