RegexMatcher.fromJson constructor

RegexMatcher.fromJson(
  1. Map json_
)

Implementation

RegexMatcher.fromJson(core.Map json_)
    : this(
        googleRe2: json_.containsKey('googleRe2')
            ? GoogleRE2.fromJson(
                json_['googleRe2'] as core.Map<core.String, core.dynamic>)
            : null,
        regex:
            json_.containsKey('regex') ? json_['regex'] as core.String : null,
      );