MethodPolicy.fromJson constructor
MethodPolicy.fromJson(
- Map json_
Implementation
MethodPolicy.fromJson(core.Map json_)
: this(
requestPolicies: json_.containsKey('requestPolicies')
? (json_['requestPolicies'] as core.List)
.map((value) => FieldPolicy.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
selector: json_.containsKey('selector')
? json_['selector'] as core.String
: null,
);