toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationSchemaUri != null)
        'annotationSchemaUri': annotationSchemaUri!,
      if (annotationsFilter != null) 'annotationsFilter': annotationsFilter!,
      if (bigqueryDestination != null)
        'bigqueryDestination': bigqueryDestination!,
      if (datasetId != null) 'datasetId': datasetId!,
      if (filterSplit != null) 'filterSplit': filterSplit!,
      if (fractionSplit != null) 'fractionSplit': fractionSplit!,
      if (gcsDestination != null) 'gcsDestination': gcsDestination!,
      if (persistMlUseAssignment != null)
        'persistMlUseAssignment': persistMlUseAssignment!,
      if (predefinedSplit != null) 'predefinedSplit': predefinedSplit!,
      if (savedQueryId != null) 'savedQueryId': savedQueryId!,
      if (stratifiedSplit != null) 'stratifiedSplit': stratifiedSplit!,
      if (timestampSplit != null) 'timestampSplit': timestampSplit!,
    };