toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (abnfGrammar != null) 'abnfGrammar': abnfGrammar!,
      if (customClasses != null) 'customClasses': customClasses!,
      if (phraseSetReferences != null)
        'phraseSetReferences': phraseSetReferences!,
      if (phraseSets != null) 'phraseSets': phraseSets!,
    };