validate method
Validates the interaction data.
Returns true if the interaction is valid and can be executed. Override this method to add custom validation logic.
Defaults to true.
Implementation
@override
bool validate() {
return id.isNotEmpty && data.isNotEmpty;
}