KGattService class

Constructors

KGattService(String uuid, {int serviceType = SERVICE_TYPE_PRIMARY, List<KGattCharacteristic>? characteristics})

Properties

characteristics List<KGattCharacteristic>
getter/setter pair
entityId String
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceType int
getter/setter pair
uuid String
getter/setter pair

Methods

activate() → dynamic
addCharacteristic(KGattCharacteristic characteristic) → dynamic
inactivate() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

SERVICE_TYPE_PRIMARY → const int
SERVICE_TYPE_SECONDARY → const int