ServerGroup.fromJson constructor
Implementation
factory ServerGroup.fromJson(Map<String, dynamic> json) {
return ServerGroup(
name: json['name'] as String?,
serverGroupId: json['serverGroupId'] as String?,
serverList: (json['serverList'] as List?)
?.whereNotNull()
.map((e) => Server.fromJson(e as Map<String, dynamic>))
.toList(),
);
}