UpdateTypeResponse.fromJson constructor

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

Implementation

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