UsernameResult class Null safety

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.
read-onlyinherited
isValid bool
final
mnemonic String
final
prefix String
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
username String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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