StringMatcher.fromJson constructor
StringMatcher.fromJson(
- Map json_
Implementation
StringMatcher.fromJson(core.Map json_)
: this(
exact:
json_.containsKey('exact') ? json_['exact'] as core.String : null,
ignoreCase: json_.containsKey('ignoreCase')
? json_['ignoreCase'] as core.bool
: null,
prefix: json_.containsKey('prefix')
? json_['prefix'] as core.String
: null,
regex:
json_.containsKey('regex') ? json_['regex'] as core.String : null,
safeRegex: json_.containsKey('safeRegex')
? RegexMatcher.fromJson(
json_['safeRegex'] as core.Map<core.String, core.dynamic>)
: null,
suffix: json_.containsKey('suffix')
? json_['suffix'] as core.String
: null,
);