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