DeleteServiceResponse.fromJson constructor

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

Implementation

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