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,
  );
}