ConnectionStateExtensions extension

on

Methods

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

Available on ConnectionState, provided by the ConnectionStateExtensions extension

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

Available on ConnectionState, provided by the ConnectionStateExtensions extension