features/network/bloc/network_bloc library
Classes
- NetworkBloc
- A BLoC for managing network connectivity states.
- NetworkEvent
- Base class for all network events.
- NetworkFailure
- State representing a network failure, such as when the device is offline or there's an error in the network request.
- NetworkInitial
- Initial state of the network, typically used when the network state hasn't been initialized yet.
- NetworkLoading
- State representing a network loading process, such as waiting for a connection.
- NetworkState
- Abstract class representing the state of the network.
- NetworkSuccess
- State representing a successful network operation or connection.
- OnNetworkConnected
- Event triggered when the device is connected to a network.
- OnNetworkNotConnected
- Event triggered when the device is not connected to any network.
Enums
- ConnectionType
- Enum representing the various types of network connections.