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