StartVisitViewModelFactory class

viewModel factory for StartVisitViewModel

Properties

dispatch → Dispatch<CoreState>
Runs the action, applying its reducer, and possibly changing the store state. Note: dispatch is of type Dispatch.
no setterinherited
dispatchAsync → DispatchAsync<CoreState>
Runs the action, applying its reducer, and possibly changing the store state. Note: dispatchAsync is of type DispatchAsync.
no setterinherited
dispatchSync → DispatchSync<CoreState>
Runs the action, applying its reducer, and possibly changing the store state. Note: dispatchSync is of type DispatchSync.
no setterinherited
env Object?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state CoreState
The state the store was holding when the factory and the view-model were created. This state is final inside of the factory.
no setterinherited
widget StartVisitConnector?
A reference to the connector widget that will instantiate the view-model.
finalinherited

Methods

currentState() CoreState
The current (most recent) store state. This will return the current state the store holds at the time the method is called.
inherited
fromStore() → Vm
getAndRemoveFirstError() → UserException?
Gets the first error from the error queue, and removes it from the queue.
inherited
getPatientPhoneNumber() String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resendOtp(BuildContext context, int step) → void
showError() bool?
startVisit(BuildContext context, String otpCode) → void
startVisitByEmergency(BuildContext context, String otpCode) → void
startVisitByRequestAccess(BuildContext context, String otpCode) → void
toString() String
A string representation of this object.
inherited
visitPhoneNumber() String?

Operators

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