Collector.fromJson constructor

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

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'];
}