toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
if (this.maxUsers != null) {
json[r'maxUsers'] = this.maxUsers;
} else {
json[r'maxUsers'] = null;
}
if (this.maxLicenses != null) {
json[r'maxLicenses'] = this.maxLicenses;
} else {
json[r'maxLicenses'] = null;
}
if (this.maxMachines != null) {
json[r'maxMachines'] = this.maxMachines;
} else {
json[r'maxMachines'] = null;
}
if (this.metadata != null) {
json[r'metadata'] = this.metadata;
} else {
json[r'metadata'] = null;
}
return json;
}