toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (codec != null) 'codec': codec!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (mapping != null)
        'mapping': mapping!.map((value) => value.toJson()).toList(),
    };