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