toJson method
Implementation
Map<String, dynamic> toJson() {
final activityStreamStatus = this.activityStreamStatus;
final allocatedStorage = this.allocatedStorage;
final associatedRoles = this.associatedRoles;
final availabilityZones = this.availabilityZones;
final backupRetentionPeriod = this.backupRetentionPeriod;
final clusterCreateTime = this.clusterCreateTime;
final copyTagsToSnapshot = this.copyTagsToSnapshot;
final crossAccountClone = this.crossAccountClone;
final customEndpoints = this.customEndpoints;
final databaseName = this.databaseName;
final dbClusterIdentifier = this.dbClusterIdentifier;
final dbClusterMembers = this.dbClusterMembers;
final dbClusterOptionGroupMemberships =
this.dbClusterOptionGroupMemberships;
final dbClusterParameterGroup = this.dbClusterParameterGroup;
final dbClusterResourceId = this.dbClusterResourceId;
final dbSubnetGroup = this.dbSubnetGroup;
final deletionProtection = this.deletionProtection;
final domainMemberships = this.domainMemberships;
final enabledCloudWatchLogsExports = this.enabledCloudWatchLogsExports;
final endpoint = this.endpoint;
final engine = this.engine;
final engineMode = this.engineMode;
final engineVersion = this.engineVersion;
final hostedZoneId = this.hostedZoneId;
final httpEndpointEnabled = this.httpEndpointEnabled;
final iamDatabaseAuthenticationEnabled =
this.iamDatabaseAuthenticationEnabled;
final kmsKeyId = this.kmsKeyId;
final masterUsername = this.masterUsername;
final multiAz = this.multiAz;
final port = this.port;
final preferredBackupWindow = this.preferredBackupWindow;
final preferredMaintenanceWindow = this.preferredMaintenanceWindow;
final readReplicaIdentifiers = this.readReplicaIdentifiers;
final readerEndpoint = this.readerEndpoint;
final status = this.status;
final storageEncrypted = this.storageEncrypted;
final vpcSecurityGroups = this.vpcSecurityGroups;
return {
if (activityStreamStatus != null)
'ActivityStreamStatus': activityStreamStatus,
if (allocatedStorage != null) 'AllocatedStorage': allocatedStorage,
if (associatedRoles != null) 'AssociatedRoles': associatedRoles,
if (availabilityZones != null) 'AvailabilityZones': availabilityZones,
if (backupRetentionPeriod != null)
'BackupRetentionPeriod': backupRetentionPeriod,
if (clusterCreateTime != null) 'ClusterCreateTime': clusterCreateTime,
if (copyTagsToSnapshot != null) 'CopyTagsToSnapshot': copyTagsToSnapshot,
if (crossAccountClone != null) 'CrossAccountClone': crossAccountClone,
if (customEndpoints != null) 'CustomEndpoints': customEndpoints,
if (databaseName != null) 'DatabaseName': databaseName,
if (dbClusterIdentifier != null)
'DbClusterIdentifier': dbClusterIdentifier,
if (dbClusterMembers != null) 'DbClusterMembers': dbClusterMembers,
if (dbClusterOptionGroupMemberships != null)
'DbClusterOptionGroupMemberships': dbClusterOptionGroupMemberships,
if (dbClusterParameterGroup != null)
'DbClusterParameterGroup': dbClusterParameterGroup,
if (dbClusterResourceId != null)
'DbClusterResourceId': dbClusterResourceId,
if (dbSubnetGroup != null) 'DbSubnetGroup': dbSubnetGroup,
if (deletionProtection != null) 'DeletionProtection': deletionProtection,
if (domainMemberships != null) 'DomainMemberships': domainMemberships,
if (enabledCloudWatchLogsExports != null)
'EnabledCloudWatchLogsExports': enabledCloudWatchLogsExports,
if (endpoint != null) 'Endpoint': endpoint,
if (engine != null) 'Engine': engine,
if (engineMode != null) 'EngineMode': engineMode,
if (engineVersion != null) 'EngineVersion': engineVersion,
if (hostedZoneId != null) 'HostedZoneId': hostedZoneId,
if (httpEndpointEnabled != null)
'HttpEndpointEnabled': httpEndpointEnabled,
if (iamDatabaseAuthenticationEnabled != null)
'IamDatabaseAuthenticationEnabled': iamDatabaseAuthenticationEnabled,
if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
if (masterUsername != null) 'MasterUsername': masterUsername,
if (multiAz != null) 'MultiAz': multiAz,
if (port != null) 'Port': port,
if (preferredBackupWindow != null)
'PreferredBackupWindow': preferredBackupWindow,
if (preferredMaintenanceWindow != null)
'PreferredMaintenanceWindow': preferredMaintenanceWindow,
if (readReplicaIdentifiers != null)
'ReadReplicaIdentifiers': readReplicaIdentifiers,
if (readerEndpoint != null) 'ReaderEndpoint': readerEndpoint,
if (status != null) 'Status': status,
if (storageEncrypted != null) 'StorageEncrypted': storageEncrypted,
if (vpcSecurityGroups != null) 'VpcSecurityGroups': vpcSecurityGroups,
};
}