toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (dataset != null) 'dataset': dataset!,
      if (displayName != null) 'displayName': displayName!,
      if (name != null) 'name': name!,
      if (sourceLanguageCode != null)
        'sourceLanguageCode': sourceLanguageCode!,
      if (targetLanguageCode != null)
        'targetLanguageCode': targetLanguageCode!,
      if (testExampleCount != null) 'testExampleCount': testExampleCount!,
      if (trainExampleCount != null) 'trainExampleCount': trainExampleCount!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (validateExampleCount != null)
        'validateExampleCount': validateExampleCount!,
    };