fromJson method

InstrumentType fromJson(
  1. Map<String, dynamic> data, [
  2. String key = _defaultInstrumentTypeKey
])

Implementation

InstrumentType fromJson(Map<String, dynamic> data,
        [String key = _defaultInstrumentTypeKey]) =>
    convert(data[key] as String);