toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationType != null) 'annotationType': annotationType!,
      if (bigquerySource != null) 'bigquerySource': bigquerySource!,
      if (classificationMetadata != null)
        'classificationMetadata': classificationMetadata!,
      if (dataType != null) 'dataType': dataType!,
      if (gcsSource != null) 'gcsSource': gcsSource!,
      if (textMetadata != null) 'textMetadata': textMetadata!,
    };