Company.fromJson constructor

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

Implementation

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