EnumUtil class Null safety

Constructors

EnumUtil()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

convertChannelSortToString(ChannelSort sort) String
Converts a ChannelSort enum to string. [...]
convertChannelTypeToString(ChannelType type) String
Converts a ChannelType enum to string. [...]
convertIncludesToString(Includes i) String
Converts a Includes enum to string. [...]
convertLanguageToString(Language lang) String
Converts a Language enum to string. [...]
convertOrderToString(Order order) String
Converts a Order enum to string. [...]
convertOrganizationToString(Organization? org) String?
Converts a Organization enum to string. [...]
convertSearchSortToString(SearchSort sort) String
Converts a SearchSort enum to string. [...]
convertSearchTargetToString(SearchTarget target) String
Converts a SearchTarget enum to string. [...]
convertStringToChannelType(String type) ChannelType?
Converts a string channel type to the corresponding ChannelType enum. [...]
convertStringToLanguage(String lang) Language?
Converts a string language code to the corresponding Language enum. [...]
convertStringToOrganization(String org) Organization?
Converts a string organization name to the corresponding Organization enum. [...]
convertStringToVideoStatus(String status) VideoStatus?
Converts a string video status to the corresponding VideoStatus enum. [...]
convertStringToVideoType(String type) VideoType?
Converts a string video type to the corresponding VideoType enum. [...]
convertVideoSearchTypeToString(VideoSearchType searchType) String
Converts a VideoSearchType enum to string. [...]
convertVideoSortToString(VideoSort sort) String
Converts a VideoSort enum to string. [...]
convertVideoStatusToString(VideoStatus status) String
Converts a VideoStatus enum to string. [...]
convertVideoTypeToString(VideoType type) String
Converts a VideoType enum to string. [...]