Machine.fromJson constructor
Implementation
Machine.fromJson(Map<String, dynamic> json) {
collector = json['collector'] != null
? Collector?.fromJson(json['collector'])
: null;
company =
json['company'] != null ? Company?.fromJson(json['company']) : null;
deleted = json['deleted'];
id = json['id'];
linkedMachine = json['linked_machine'];
name = json['name'];
}