MutationState<TData, TError> class

Mutation state class

Constructors

MutationState.error(TError error)
factory
MutationState.initial()
factory
MutationState.success(TData data)
factory

Properties

data → TData?
final
error → TError?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status MutationLoadingState
final

Methods

copyWith({MutationLoadingState? status, TData? data, TError? error}) MutationState<TData, TError>
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