NamebaseResponse class

NamebaseResponse

Class Returns NameBase Records on Refresh

Constructors

NamebaseResponse({required bool success, bool isBlank = false, List<DNSRecord> records = const []})
NamebaseResponse.blank()
Returns Blank Namebase Result
factory
NamebaseResponse.fromResponse(Response response)
Returns NamebaseResult from GetConnect Response
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isBlank bool
final
records List<DNSRecord>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
final

Methods

checkName(NameCheckType type, String name) bool
Checks with NameCheckType and Returns bool
hasName(String name, String prefix) NamebaseRecordResult
Finds Matching Record with Username and Prefix
isNameAvailable(String n) bool
Checks if Name is not already Taken
isNameUnblocked(String n) bool
Checks if Name not on Blocked List
isNameUnrestricted(String n) bool
Checks if Name not on Restricted List
isValidName(String n) bool
Checks if Name Provided is Valid with ALL Checks
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