StructMatcher.fromJson constructor
StructMatcher.fromJson(
- Map json_
Implementation
StructMatcher.fromJson(core.Map json_)
: this(
path: json_.containsKey('path')
? (json_['path'] as core.List)
.map((value) => PathSegment.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
value: json_.containsKey('value')
? ValueMatcher.fromJson(
json_['value'] as core.Map<core.String, core.dynamic>)
: null,
);