HttpRouteRequestMirrorPolicy.fromJson constructor
HttpRouteRequestMirrorPolicy.fromJson(
- Map json_
Implementation
HttpRouteRequestMirrorPolicy.fromJson(core.Map json_)
: this(
destination: json_.containsKey('destination')
? HttpRouteDestination.fromJson(
json_['destination'] as core.Map<core.String, core.dynamic>)
: null,
mirrorPercent: json_.containsKey('mirrorPercent')
? (json_['mirrorPercent'] as core.num).toDouble()
: null,
);