supportedLanguages property
An array of language identifiers that are supported by this controller. Any language identifier from {@linkcode languages.getLanguages getLanguages} is possible. When falsy all languages are supported.
Samples:
// support JavaScript and TypeScript
myController.supportedLanguages = ['javascript', 'typescript']
// support all languages
myController.supportedLanguages = undefined; // falsy
myController.supportedLanguages = []; // falsy
Implementation
_i2.List<_i2.String>? get supportedLanguages => (_i5.getProperty(
this,
'supportedLanguages',
) as _i2.List?)
?.cast();