toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alternatives != null) 'alternatives': alternatives!,
      if (channelTag != null) 'channelTag': channelTag!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (resultEndOffset != null) 'resultEndOffset': resultEndOffset!,
    };