ExtractionRule.fromJson constructor

ExtractionRule.fromJson(
  1. Map json_
)

Implementation

ExtractionRule.fromJson(core.Map json_)
    : this(
        extractionRegex: json_.containsKey('extractionRegex')
            ? json_['extractionRegex'] as core.String
            : null,
        source: json_.containsKey('source')
            ? Source.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );