UsernameResult class

UsernameResult

Class Returns Username Result when selecting Username

Constructors

UsernameResult({required String username, required bool isValid, required String prefix, required String mnemonic})
UsernameResult.isInvalid()
Creates Invalid Username Result
factory
UsernameResult.isValidFetch(String username, String prefix, String mnemonic)
Creates Valid Username Result and Fetch's Prefix and Mnemonic from MobileService
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isValid bool
final
mnemonic String
final
prefix String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
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