Identifier class Null safety

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
read / write
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
wifi String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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