UuidV4 class

An RFC-4122 compliant v4 UUID.

Constructors

UuidV4(UuidValue value)
const
UuidV4.fromDTO(UUID dto)
Creates a new v4 UUID from UUID
factory
UuidV4.fromInt64(Int64 msb, Int64 lsb)
Creates a new v4 UUID from most and least significant bits
factory
UuidV4.fromString(String uuid)
Creates a new v4 UUID from given uuid
factory
UuidV4.newUuid()
Creates a new, randomized v4 UUID
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → UuidValue
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

Static Properties

Empty UuidV4
Represents the empty (00000000-0000-0000-0000-000000000000) v4 UUID
final

Static Methods

toValue(String uuid) → UuidValue
Creates a new UuidValue from string