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