CBMutableService class final
- Inheritance
-
- Object
- CBAttribute
- CBService
- CBMutableService
Constructors
-
CBMutableService({required String handle, required CBPeripheral? peripheral, required CBUUID uuid, required bool isPrimary, required List<
CBService> ? includedServices, required List<CBCharacteristic> ? characteristics, String? clientReference}) -
CBMutableService.fromMap(Map<
Object?, Object?> map) -
factory
-
CBMutableService.type({required CBUUID type, required bool primary, CBPeripheral? peripheral, String handle = '', List<
CBService> ? includedServices, List<CBCharacteristic> ? characteristics, String? clientReference})
Properties
-
characteristics
↔ List<
CBCharacteristic> ? -
getter/setter pairinherited-getter
- handle ↔ String
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includedServices
↔ List<
CBService> ? -
getter/setter pairinherited-getter
- isPrimary ↔ bool
-
getter/setter pairinherited-getter
- peripheral → CBPeripheral?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → CBUUID
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
-
updateCharacteristics(
List< CBCharacteristic> ? characteristics) → void -
inherited
-
updateIncludedServices(
List< CBService> ? includedServices) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited