toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (articleSuggestionModelMetadata != null)
        'articleSuggestionModelMetadata': articleSuggestionModelMetadata!,
      if (createTime != null) 'createTime': createTime!,
      if (datasets != null) 'datasets': datasets!,
      if (displayName != null) 'displayName': displayName!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (name != null) 'name': name!,
      if (smartReplyModelMetadata != null)
        'smartReplyModelMetadata': smartReplyModelMetadata!,
      if (state != null) 'state': state!,
    };