Identifier class

Class allowing to have a distinct MAC address for BLE and Wi-Fi enabled simultaneously.

It allows to identify a device that owns two different MAC addresses.

Constructors

Identifier({String ble = '', String wifi = ''})
Creates a Identifier object.
Identifier.fromJson(Map<String, dynamic> json)
Creates a Identifier object from a JSON representation.
factory

Properties

ble String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wifi String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns the JSON representation as a Map of this Identifier instance.
toString() String
A string representation of this object.
override

Operators

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