INNER CODE UNIT · Dart
_PeripheralMetadata
dotintent/FlutterBleLib · lib/peripheral.dart:3
abstract class _PeripheralMetadata {
static const name = "name";
static const identifier = "id";
}
/// Representation of a unique peripheral
///
/// This class allows for managing the connection, discovery,
/// retrieving [Service]s, [Characteristic]s and [Descriptor]s and has
/// convenience methods for manipulation of the latter two.
///
/// Only [connect()], [observeConnectionState()], [isConnected()] and
/// [disconnectOrCancelConnection()] can be used if peripheral is not connected.
class Peripheral {
static const int NO_MTU_NEGOTIATION = 0;
final ManagerForPeripheral _manager;
String? name;