OrMatcher.fromJson constructor

OrMatcher.fromJson(
  1. Map json_
)

Implementation

OrMatcher.fromJson(core.Map json_)
    : this(
        valueMatchers: json_.containsKey('valueMatchers')
            ? (json_['valueMatchers'] as core.List)
                .map((value) => ValueMatcher.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );