toJson method
Implementation
Map<String, dynamic> toJson() {
final awsRegion = this.awsRegion;
final awsSecretStoreArn = this.awsSecretStoreArn;
final databaseName = this.databaseName;
final dbClusterIdentifier = this.dbClusterIdentifier;
final schema = this.schema;
return {
if (awsRegion != null) 'awsRegion': awsRegion,
if (awsSecretStoreArn != null) 'awsSecretStoreArn': awsSecretStoreArn,
if (databaseName != null) 'databaseName': databaseName,
if (dbClusterIdentifier != null)
'dbClusterIdentifier': dbClusterIdentifier,
if (schema != null) 'schema': schema,
};
}