BillingState class
- Inheritance
-
- Object
- State<
BillingState> - BillingState
Constructors
-
BillingState.new({Set<
LoadingState> loadingStates = const {}, Set<Message> messages = const {}, String? paymentLink}) -
const
Properties
-
additionalProps
→ List<
Object?> -
The concrete class must implement this method to
return a list of additional properties that are
specific to the concrete class.
no setteroverride
- hasError → dynamic
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loadingStates
→ Set<
LoadingState> -
finalinherited
-
messages
→ Set<
Message> -
finalinherited
- paymentLink → String?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
addMessage(
Message message, [Object? error, StackTrace? stackTrace]) → BillingState -
inherited
-
clearMessages(
) → BillingState -
inherited
-
copyWith(
{Set< LoadingState> ? loadingStates, Set<Message> ? messages, String? paymentLink}) → BillingState -
The concrete class must implement this method to
return a new instance of the state with the given
parameters.
override
-
endLoading(
LoadingState loadingState) → BillingState -
inherited
-
isLoading(
List< LoadingState> loadingStates) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
peekMessage(
) → Message? -
inherited
-
removeMessage(
Message message) → BillingState -
inherited
-
startLoading(
LoadingState loadingState, {dynamic clearMessages = true}) → BillingState -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited