LanguageType enum
A category of language (or content type) according to the general intended use of its contents.
Constructors
- LanguageType()
-
const
Values
- data → const LanguageType
-
Contains or represents data, such as
yaml
orjson
. - programming → const LanguageType
-
Contains programming instructions, such as
dart
orswift
. - markup → const LanguageType
-
Contains template, layout, or styling content, such as
css
orhtml
. - prose → const LanguageType
-
Contains written text, such as
md
ortxt
.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String value) → LanguageType? -
Convert from the string representation of a LanguageType to
the corresponding instance, or
null
if none match.
Constants
-
values
→ const List<
LanguageType> - A constant List of the values in this enum, in order of their declaration.