copyToIsWaiting method

SnapState<T> copyToIsWaiting([
  1. String? infoMessage
])

Copy the state to a new state in the waiting status

Implementation

SnapState<T> copyToIsWaiting([String? infoMessage]) {
  return copyWith(
    status: StateStatus.isWaiting,
    infoMessage: infoMessage,
  );
}