StringEncoding enum
An enumeration representing different string encoding options.
Values
- ascii → const StringEncoding
-
The ASCII encoding option. This encoding represents characters using the ASCII character set, which uses 7-bit encoding and supports a limited character range.
- utf8 → const StringEncoding
-
The UTF-8 encoding option. This encoding represents characters using the Unicode Transformation Format (UTF-8), which is a variable-length character encoding that supports a wide range of characters, including those from various languages and symbols.
- base64 → const StringEncoding
-
The base64 encoding option
- base64UrlSafe → const StringEncoding
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
StringEncoding> - A constant List of the values in this enum, in order of their declaration.