BleScanBean.fromJson constructor

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

Implementation

factory BleScanBean.fromJson(Map<String, dynamic> json) => BleScanBean(
      isCompleted: json["isCompleted"],
      address: json["address"],
      mRssi: json["mRssi"],
      mScanRecord: List<int>.from(json["mScanRecord"].map((x) => x)),
      name: json["name"],
      platform: json["platform"],
    );