LanguageType enum

A category of language (or content type) according to the general intended use of its contents.

Inheritance

Constructors

LanguageType()
const

Values

data → const LanguageType

Contains or represents data, such as yaml or json.

programming → const LanguageType

Contains programming instructions, such as dart or swift.

markup → const LanguageType

Contains template, layout, or styling content, such as css or html.

prose → const LanguageType

Contains written text, such as md or txt.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.