ValueMatcher.fromJson constructor
ValueMatcher.fromJson(
- Map json_
Implementation
ValueMatcher.fromJson(core.Map json_)
: this(
boolMatch: json_['boolMatch'] as core.bool?,
doubleMatch:
json_.containsKey('doubleMatch')
? DoubleMatcher.fromJson(
json_['doubleMatch'] as core.Map<core.String, core.dynamic>,
)
: null,
listMatch:
json_.containsKey('listMatch')
? ListMatcher.fromJson(
json_['listMatch'] as core.Map<core.String, core.dynamic>,
)
: null,
nullMatch:
json_.containsKey('nullMatch')
? NullMatch.fromJson(
json_['nullMatch'] as core.Map<core.String, core.dynamic>,
)
: null,
presentMatch: json_['presentMatch'] as core.bool?,
stringMatch:
json_.containsKey('stringMatch')
? StringMatcher.fromJson(
json_['stringMatch'] as core.Map<core.String, core.dynamic>,
)
: null,
);