HealthSourcesGetHealthResponseSourceInfoBackendInfo.fromJson constructor
HealthSourcesGetHealthResponseSourceInfoBackendInfo.fromJson(
- Object? j
Implementation
factory HealthSourcesGetHealthResponseSourceInfoBackendInfo.fromJson(
Object? j,
) {
final json = j as Map<String, Object?>;
return HealthSourcesGetHealthResponseSourceInfoBackendInfo(
endpointCount: switch (json['endpointCount']) {
null => null,
Object $1 => decodeInt($1),
},
group: switch (json['group']) {
null => null,
Object $1 => decodeString($1),
},
healthyEndpointCount: switch (json['healthyEndpointCount']) {
null => null,
Object $1 => decodeInt($1),
},
);
}