connectionState property

Lens<ConnectionStateUpdate, DeviceConnectionState> connectionState
final

Implementation

static final connectionState =
    Lens<ConnectionStateUpdate, DeviceConnectionState>(
  (connectionStateContainer) => connectionStateContainer.connectionState,
  (connectionStateContainer, connectionState) =>
      connectionStateContainer.copyWith(connectionState: connectionState),
);