toJson method
Implementation
@override
Object toJson() => {
if (gcsMetadataSchemaSource != null)
'gcsMetadataSchemaSource': gcsMetadataSchemaSource!.toJson(),
if (googleDriveMetadataSchemaSource != null)
'googleDriveMetadataSchemaSource': googleDriveMetadataSchemaSource!
.toJson(),
if (inlineMetadataSchemaSource != null)
'inlineMetadataSchemaSource': inlineMetadataSchemaSource,
if (gcsMetadataSource != null)
'gcsMetadataSource': gcsMetadataSource!.toJson(),
if (googleDriveMetadataSource != null)
'googleDriveMetadataSource': googleDriveMetadataSource!.toJson(),
if (inlineMetadataSource != null)
'inlineMetadataSource': inlineMetadataSource,
};