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