ConnectDeviceBean.fromJson constructor

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

Implementation

factory ConnectDeviceBean.fromJson(Map<String, dynamic> json) => ConnectDeviceBean(
      address: json["address"],
      peripheral: json["peripheral"] ?? " ",
      autoConnect: json["autoConnect"] ?? false,
    );