toJson method

Map<String, dynamic> toJson()

Implementation

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