toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = this.id;
json[r'actionId'] = this.actionId;
if (this.displayName != null) {
json[r'displayName'] = this.displayName;
} else {
json[r'displayName'] = null;
}
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.key != null) {
json[r'key'] = this.key;
} else {
json[r'key'] = null;
}
json[r'modifiers'] = this.modifiers;
if (this.category != null) {
json[r'category'] = this.category;
} else {
json[r'category'] = null;
}
if (this.scope != null) {
json[r'scope'] = this.scope;
} else {
json[r'scope'] = null;
}
if (this.displayOrder != null) {
json[r'displayOrder'] = this.displayOrder;
} else {
json[r'displayOrder'] = null;
}
if (this.isCustom != null) {
json[r'isCustom'] = this.isCustom;
} else {
json[r'isCustom'] = null;
}
json[r'metadata'] = this.metadata;
return json;
}