DeviceManager class
- Inheritance
-
- Object
- LittleFishService
- DeviceManagerService
- DeviceManager
Constructors
Properties
- core → LittleFishCore
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDeviceInfoFromServer(
{required String deviceId}) → Future< Device> -
override
-
getLinkedDevicesByBusinessId(
{required String businessId}) → Future< List< Device> > -
override
-
getLinkedDevicesByUserId(
{required String userId}) → Future< List< String> > -
override
-
getLocalDeviceInfo(
{bool autoRegister = false}) → Future< Device> -
override
-
linkDevice(
{required String businessId, required String userId, required Device device}) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDevice(
{required Device device}) → Future< void> -
override
-
setDeviceLocation(
{required Device device, required double latitude, required double longitude}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited