BleConnectionEvent constructor
const
BleConnectionEvent({
- required BleConnectionState state,
- BleConnectionFailure? failure,
Creates a BleConnectionEvent.
- Parameter
state: The connection state this event represents. Required. - Parameter
failure: The accompanying failure detail, ornullwhen the event is not a failure.
Implementation
const BleConnectionEvent({
required this.state,
this.failure,
});