LexStringFormat enum
Values
- datetime → const LexStringFormat
-
const LexStringFormat('datetime') - uri → const LexStringFormat
-
const LexStringFormat('uri') - atUri → const LexStringFormat
-
const LexStringFormat('at-uri') - did → const LexStringFormat
-
const LexStringFormat('did') - handle → const LexStringFormat
-
const LexStringFormat('handle') - atIdentifier → const LexStringFormat
-
const LexStringFormat('at-identifier') - nsid → const LexStringFormat
-
const LexStringFormat('nsid') - cid → const LexStringFormat
-
const LexStringFormat('cid') - language → const LexStringFormat
-
const LexStringFormat('language') - tid → const LexStringFormat
-
const LexStringFormat('tid') - recordKey → const LexStringFormat
-
const LexStringFormat('record-key') - unknown → const LexStringFormat
-
Fallback for
formatvalues not known to this version of the parser.The atproto spec is open-ended about string formats, so an unrecognized value (e.g. a newly introduced format) decodes to unknown instead of throwing. Code generation treats an unknown format as a plain string.
const LexStringFormat('unknown')
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
- value → String
-
The format value.
final
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<
LexStringFormat> - A constant List of the values in this enum, in order of their declaration.