RelationalDatabaseHardware.fromJson constructor

RelationalDatabaseHardware.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RelationalDatabaseHardware.fromJson(Map<String, dynamic> json) {
  return RelationalDatabaseHardware(
    cpuCount: json['cpuCount'] as int?,
    diskSizeInGb: json['diskSizeInGb'] as int?,
    ramSizeInGb: json['ramSizeInGb'] as double?,
  );
}