CommandModel.fromJson constructor

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

Implementation

CommandModel.fromJson(Map<String, dynamic> json) {
  deviceId = json["deviceId"];
  type = json["type"];
  description = json["description"];
  attributes = json["attributes"];
}