DescribeServicesResponse.fromJson constructor
Implementation
factory DescribeServicesResponse.fromJson(Map<String, dynamic> json) {
return DescribeServicesResponse(
failures: (json['failures'] as List?)
?.whereNotNull()
.map((e) => Failure.fromJson(e as Map<String, dynamic>))
.toList(),
services: (json['services'] as List?)
?.whereNotNull()
.map((e) => Service.fromJson(e as Map<String, dynamic>))
.toList(),
);
}