TagType enum

Tag type.

Inheritance
Annotations
  • @MappableEnum(defaultValue: TagType.unknown)

Constructors

TagType()
const

Values

unknown → const TagType

Unknown tag type.

tag → const TagType

Ordinary tag.

category → const TagType

Category tag.

artist → const TagType

Artist tag.

parody → const TagType

Parody tag.

character → const TagType

Character tag.

group → const TagType

Group tag.

language → const TagType

Language tag.

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 Properties

parse TagType Function(dynamic value)
Parses TagType instance from a given value.
no setter
parseJson TagType Function(String json)
Parses JSON string into TagType similarly to parse.
no setter
parseJsonList List<TagType> Function(String json)
Parses JSON string into List of TagType instances similarly to parseList.
no setter
parseList List<TagType> Function(dynamic value)
Parses List of TagType instances from a given value.
no setter

Static Methods

getByName(String tagType) TagType
Returns TagType by given tagType name.

Constants

values → const List<TagType>
A constant List of the values in this enum, in order of their declaration.