MeshagentServicesPage.fromJson constructor
Implementation
factory MeshagentServicesPage.fromJson(Map<String, dynamic> json) {
final list = json['services'] as List<dynamic>? ?? [];
return MeshagentServicesPage(
services: list.whereType<Map>().map((m) => ServiceSpec.fromJson(m.cast<String, dynamic>())).toList(),
total: _parseInt(json['total']),
);
}