ContainerServicePower.fromJson constructor

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

Implementation

factory ContainerServicePower.fromJson(Map<String, dynamic> json) {
  return ContainerServicePower(
    cpuCount: json['cpuCount'] as double?,
    isActive: json['isActive'] as bool?,
    name: json['name'] as String?,
    powerId: json['powerId'] as String?,
    price: json['price'] as double?,
    ramSizeInGb: json['ramSizeInGb'] as double?,
  );
}