$UndefinedUuidValue class
An omitted UUID argument in generated copyWith methods.
- Inheritance
-
- Object
- UndefinedSentinel
- $UndefinedUuidValue
- Implemented types
- Available extensions
Constructors
- $UndefinedUuidValue()
-
Creates an undefined UUID argument.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNil → bool
-
no setterinherited
- isV1 → bool
-
no setterinherited
- isV4 → bool
-
no setterinherited
- isV5 → bool
-
no setterinherited
- isV6 → bool
-
no setterinherited
- isV7 → bool
-
no setterinherited
- isV8 → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → int
-
no setterinherited
- uuid → String
-
finalinherited
- version → int
-
no setterinherited
Methods
-
equals(
UuidValue other) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
{bool validate = false}) → Uint8List -
inherited
-
toFormattedString(
{bool validate = false}) → String -
inherited
-
toJson(
) → String -
Available on UuidValue, provided by the UuidValueJsonExtension extension
Returns a serialized version of the UuidValue as a String. -
toString(
) → String -
A string representation of this object.
inherited
-
validate(
[ValidationMode validationMode = ValidationMode.strictRFC9562, bool noDashes = false]) → void -
validate() validates the internal string representation of the uuid.
Optionally, you can provide a
validationModeto use when validating the uuid string. Throws FormatException if the UUID is invalid.inherited -
validateFormat(
[bool noDashes = false]) → void -
validateFormat() validates the internal string representation format of the uuid.
Throws FormatException if the UUID format is invalid.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited