KGattDevice.fromMap constructor

KGattDevice.fromMap(
  1. Map<String, dynamic> map
)

Implementation

KGattDevice.fromMap(Map<String, dynamic> map) {
  address = map["address"] as String;
  name = map["name"] as String?;
  alias = map["alias"] as String?;
  bondState = map["bondState"] as int;
  type = map["type"] as int;
}