toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.accountId != null) {
json[r'accountId'] = this.accountId;
} else {
json[r'accountId'] = null;
}
json[r'name'] = this.name;
if (this.parentId != null) {
json[r'parentId'] = this.parentId;
} else {
json[r'parentId'] = null;
}
if (this.workspaceId != null) {
json[r'workspaceId'] = this.workspaceId;
} else {
json[r'workspaceId'] = null;
}
if (this.organizationId != null) {
json[r'organizationId'] = this.organizationId;
} else {
json[r'organizationId'] = null;
}
return json;
}