UserNum class

Unique number of an User.

See more details in User.num.

Inheritance

Constructors

UserNum(String val)
factory
UserNum.fromJson(String val)
Constructs a UserNum from the provided val.
factory
UserNum.unchecked(String val)
Creates an object without any validation.
const
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
val String
Actual value wrapped by this NewType.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Returns a String representing this UserId.
toString() String
Returns UserNum as String formatted in quartets.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

sourceExp RegExp
RegExp matching original toString representation of UserNum.
final
stringExp RegExp
RegExp matching copied toString representation of UserNum.
final

Static Methods

tryParse(String val) UserNum?
Parses the provided val as a UserNum, if val meets the validation, or returns null otherwise.