GetServiceResponse.fromJson constructor

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

Implementation

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