CreateTypeResponse.fromJson constructor

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

Implementation

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