Types.fromJson constructor

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

Implementation

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