GetRegionHealthCheckRequest.fromJson constructor
GetRegionHealthCheckRequest.fromJson(
- Object? j
Implementation
factory GetRegionHealthCheckRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GetRegionHealthCheckRequest(
healthCheck: switch (json['healthCheck']) {
null => '',
Object $1 => decodeString($1),
},
project: switch (json['project']) {
null => '',
Object $1 => decodeString($1),
},
region: switch (json['region']) {
null => '',
Object $1 => decodeString($1),
},
);
}