LanguageInfo constructor

const LanguageInfo({
  1. required String name,
  2. required LanguageType type,
  3. List<String> aliases = const [],
  4. List<String> extensions = const [],
  5. List<String> filenames = const [],
  6. List<String> interpreters = const [],
  7. String? linguistColor,
  8. String? aceMode,
  9. String? codeMirrorMode,
  10. String? codeMirrorMimeType,
  11. String? textMateScope,
  12. String? group,
  13. String? backupFileSystemName,
})

Create a representation of some common language information, that minimally has a name and a type.

Implementation

const LanguageInfo({
  required this.name,
  required this.type,
  List<String> this.aliases = const [],
  List<String> this.extensions = const [],
  List<String> this.filenames = const [],
  List<String> this.interpreters = const [],
  this.linguistColor,
  this.aceMode,
  this.codeMirrorMode,
  this.codeMirrorMimeType,
  this.textMateScope,
  this.group,
  final String? backupFileSystemName,
}) : _backupFileSystemName = backupFileSystemName;