Types.fromJson constructor

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

Implementation

Types.fromJson(Map<String, dynamic> json) {
  slot = json['slot'];
  type = json['type'] != null
      ?  NamedAPIResource.fromJson(json['type'])
      : null;
}