NamebaseResponse class Null safety

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.
read-onlyinherited
isBlank bool
final
records List<DNSRecord>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 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