optionalInstrumentType method

InstrumentType? optionalInstrumentType([
  1. String key = _defaultInstrumentTypeKey
])

Implementation

InstrumentType? optionalInstrumentType(
        [String key = _defaultInstrumentTypeKey]) =>
    this[key] != null
        ? const InstrumentTypeConverter().fromJson(this, key)
        : null;