DeviceBle.fromJson constructor

DeviceBle.fromJson(
  1. Map<String, dynamic> json
)

Implementation

DeviceBle.fromJson(Map<String, dynamic> json)
    : id = json['id'].toString(),
      name = ifNullReturnEmpty(json['name']),
      address = ifNullReturnEmpty(json['address']);