toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bitrateBps != null) 'bitrateBps': bitrateBps!,
      if (channelCount != null) 'channelCount': channelCount!,
      if (channelLayout != null) 'channelLayout': channelLayout!,
      if (codec != null) 'codec': codec!,
      if (displayName != null) 'displayName': displayName!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (mapping != null) 'mapping': mapping!,
      if (sampleRateHertz != null) 'sampleRateHertz': sampleRateHertz!,
    };