ResourcesConsumed.fromJson constructor
ResourcesConsumed.fromJson(
- Object? j
Implementation
factory ResourcesConsumed.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ResourcesConsumed(
replicaHours: switch (json['replicaHours']) {
null => 0,
Object $1 => decodeDouble($1),
},
);
}