GetTypeResponse.fromJson constructor

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

Implementation

factory GetTypeResponse.fromJson(Map<String, dynamic> json) {
  return GetTypeResponse(
    type: json['type'] != null
        ? Type.fromJson(json['type'] as Map<String, dynamic>)
        : null,
  );
}