Reader.fromJson constructor

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

Implementation

factory Reader.fromJson(Map<String, dynamic> json) => Reader(
  name: json["name"],
  macAddress: json["macAddress"],
  type: json["type"],
);