toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final allocatedStorage = this.allocatedStorage;
  final availabilityZones = this.availabilityZones;
  final clusterCreateTime = this.clusterCreateTime;
  final dbClusterIdentifier = this.dbClusterIdentifier;
  final dbClusterSnapshotIdentifier = this.dbClusterSnapshotIdentifier;
  final engine = this.engine;
  final engineVersion = this.engineVersion;
  final iamDatabaseAuthenticationEnabled =
      this.iamDatabaseAuthenticationEnabled;
  final kmsKeyId = this.kmsKeyId;
  final licenseModel = this.licenseModel;
  final masterUsername = this.masterUsername;
  final percentProgress = this.percentProgress;
  final port = this.port;
  final snapshotCreateTime = this.snapshotCreateTime;
  final snapshotType = this.snapshotType;
  final status = this.status;
  final storageEncrypted = this.storageEncrypted;
  final vpcId = this.vpcId;
  return {
    if (allocatedStorage != null) 'AllocatedStorage': allocatedStorage,
    if (availabilityZones != null) 'AvailabilityZones': availabilityZones,
    if (clusterCreateTime != null) 'ClusterCreateTime': clusterCreateTime,
    if (dbClusterIdentifier != null)
      'DbClusterIdentifier': dbClusterIdentifier,
    if (dbClusterSnapshotIdentifier != null)
      'DbClusterSnapshotIdentifier': dbClusterSnapshotIdentifier,
    if (engine != null) 'Engine': engine,
    if (engineVersion != null) 'EngineVersion': engineVersion,
    if (iamDatabaseAuthenticationEnabled != null)
      'IamDatabaseAuthenticationEnabled': iamDatabaseAuthenticationEnabled,
    if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
    if (licenseModel != null) 'LicenseModel': licenseModel,
    if (masterUsername != null) 'MasterUsername': masterUsername,
    if (percentProgress != null) 'PercentProgress': percentProgress,
    if (port != null) 'Port': port,
    if (snapshotCreateTime != null) 'SnapshotCreateTime': snapshotCreateTime,
    if (snapshotType != null) 'SnapshotType': snapshotType,
    if (status != null) 'Status': status,
    if (storageEncrypted != null) 'StorageEncrypted': storageEncrypted,
    if (vpcId != null) 'VpcId': vpcId,
  };
}