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