Mode constructor Null safety

Mode(
  1. {String? ref,
  2. Map<String, Mode>? refs,
  3. List<String>? aliases,
  4. dynamic keywords,
  5. String? illegal,
  6. bool? case_insensitive,
  7. List<Mode?>? contains,
  8. List<Mode?>? variants,
  9. Mode? starts,
  10. String? className,
  11. String? begin,
  12. String? beginKeywords,
  13. String? end,
  14. String? lexemes,
  15. bool? endSameAsBegin,
  16. bool? endsParent,
  17. bool? endsWithParent,
  18. int? relevance,
  19. List<String>? subLanguage,
  20. bool? excludeBegin,
  21. bool? excludeEnd,
  22. bool? skip,
  23. bool? returnBegin,
  24. bool? returnEnd,
  25. bool? self,
  26. bool? disableAutodetect}
)

Implementation

Mode({
  this.ref,
  this.refs,
  //
  this.aliases,
  this.keywords,
  this.illegal,
  this.case_insensitive,
  this.contains,
  this.variants,
  this.starts,
  this.className,
  this.begin,
  this.beginKeywords,
  this.end,
  this.lexemes,
  this.endSameAsBegin,
  this.endsParent,
  this.endsWithParent,
  this.relevance,
  this.subLanguage,
  this.excludeBegin,
  this.excludeEnd,
  this.skip,
  this.returnBegin,
  this.returnEnd,
  //
  this.self,
  this.disableAutodetect,
});