toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (dataItemCount != null) 'dataItemCount': dataItemCount!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (metadata != null) 'metadata': metadata!,
      if (metadataArtifact != null) 'metadataArtifact': metadataArtifact!,
      if (metadataSchemaUri != null) 'metadataSchemaUri': metadataSchemaUri!,
      if (modelReference != null) 'modelReference': modelReference!,
      if (name != null) 'name': name!,
      if (savedQueries != null) 'savedQueries': savedQueries!,
      if (updateTime != null) 'updateTime': updateTime!,
    };