devices property

List<DeviceInfo> devices

Access to all available devices.

Throws an exception if not initialized.

Implementation

List<DeviceInfo> get devices => state.maybeMap(
      initialized: (state) => state.devices,
      orElse: () => throw Exception('Not initialized'),
    );