UpdateServiceResponse.fromJson constructor

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

Implementation

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