ABNFGrammar.fromJson constructor

ABNFGrammar.fromJson(
  1. Map json_
)

Implementation

ABNFGrammar.fromJson(core.Map json_)
    : this(
        abnfStrings: json_.containsKey('abnfStrings')
            ? (json_['abnfStrings'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );