ApplianceModel.fromJson constructor

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

Implementation

factory ApplianceModel.fromJson(Map<String, dynamic> json) {
  return ApplianceModel(
      id: json['id'],
      manufacturer: json['manufacturer'],
      remoteName: json['remote_name'],
      name: json['name'],
      image: json['image']);
}