ConnectionStateExtensions extension

on

Methods

map<TResult extends Object?>({required TResult waitingForNetwork(ConnectionStateWaitingForNetwork value), required TResult connectingToProxy(ConnectionStateConnectingToProxy value), required TResult connecting(ConnectionStateConnecting value), required TResult updating(ConnectionStateUpdating value), required TResult ready(ConnectionStateReady value)}) → TResult

Available on ConnectionState, provided by the ConnectionStateExtensions extension

maybeMap<TResult extends Object?>({TResult waitingForNetwork(ConnectionStateWaitingForNetwork value)?, TResult connectingToProxy(ConnectionStateConnectingToProxy value)?, TResult connecting(ConnectionStateConnecting value)?, TResult updating(ConnectionStateUpdating value)?, TResult ready(ConnectionStateReady value)?, required TResult orElse()}) → TResult

Available on ConnectionState, provided by the ConnectionStateExtensions extension