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