toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    "minCpu": minCpu,
    "maxCpu": maxCpu,
    "minMemoryMb": minMemoryMb,
    "maxMemoryMb": maxMemoryMb,
    "minStorageGb": minStorageGb,
    "maxStorageGb": maxStorageGb,
    "maxReplicas": maxReplicas,
    "maxConnections": maxConnections,
    "maxIpAllowlistSize": maxIpAllowlistSize,
    "maxExtensions": maxExtensions,
    "maxBackupRetentionDays": maxBackupRetentionDays,
    "maxPitrRetentionDays": maxPitrRetentionDays,
    "maxSqlApiMaxRows": maxSqlApiMaxRows,
    "maxSqlApiMaxBytes": maxSqlApiMaxBytes,
    "maxSqlApiTimeoutSeconds": maxSqlApiTimeoutSeconds,
    "maxSqlApiAllowedStatements": maxSqlApiAllowedStatements,
    "allowedSqlStatements": allowedSqlStatements,
    "allowedStorageClasses": allowedStorageClasses,
    "allowedSyncModes": allowedSyncModes,
  };
}