DurationStrings class Null safety

Constructors

DurationStrings({required String durationText, required String durationTextNumber, required String durationType, required int durationNumber})
DurationStrings.zero(PaywallLocalizations paywallIntl)
Empty fallback object

Properties

durationNumber int
e.g. 6
final
durationText String
e.g. biannual
final
durationTextNumber String
e.g. 6 months
final
durationType String
e.g. month
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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