toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final serverGroupId = this.serverGroupId;
final serverList = this.serverList;
return {
if (name != null) 'name': name,
if (serverGroupId != null) 'serverGroupId': serverGroupId,
if (serverList != null) 'serverList': serverList,
};
}