InstrumentFulfillment.fromJSON constructor
InstrumentFulfillment.fromJSON(
- Map data
Implementation
InstrumentFulfillment.fromJSON(Map<dynamic, dynamic> data) :
id = data["id"] ?? 0,
instrument = Instrument.fromJSON(data["instrument"]),
isFulfilled = data["isFulfilled"] ?? "",
profileId = data["profileId"] ?? "",
profileImgUrl = data["profileImgUrl"] ?? "",
profileName = data["profileName"] ?? "",
vocalType = EnumToString.fromString(VocalType.values, data["vocalType"] ?? "none") ?? VocalType.none;