DomainPrice class

DomainPrice

Implemented types

Constructors

DomainPrice({required String domain, required String tld, required bool available, double? price, required int periodYears, required bool premium, double? renewalPrice, required int renewalPeriodYears})
DomainPrice.fromMap(Map<String, dynamic> map)
factory

Properties

available → bool
Whether the domain is currently available for registration.
final
domain → String
Domain name.
final
hashCode → int
The hash code for this object.
no setterinherited
periodYears → int
Price period in years.
final
premium → bool
Whether the domain is a premium domain.
final
price → double?
Domain registration price. Null when the price could not be resolved, for example for an unsupported TLD.
final
renewalPeriodYears → int
Renewal price period in years.
final
renewalPrice → double?
Domain renewal price for the same period. Null when the domain was not priced or the registrar has no renewal price for it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tld → String
Top-level domain for the requested domain.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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