toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (inputDataConfig != null) 'inputDataConfig': inputDataConfig!,
      if (issueCount != null) 'issueCount': issueCount!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (modelType != null) 'modelType': modelType!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (trainingStats != null) 'trainingStats': trainingStats!,
      if (updateTime != null) 'updateTime': updateTime!,
    };