CreateServiceResponse.fromJson constructor

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

Implementation

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