GetHITResponse.fromJson constructor

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

Implementation

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