Album.fromJson constructor
Album.fromJson(
- Map? raw
Implementation
factory Album.fromJson(Map<dynamic, dynamic>? raw) {
if (raw == null) {
return Album("", "", 0);
}
return Album(raw["name"] ?? "", raw["identifier"] ?? "", raw["count"] ?? 0);
}