matchesEventOrTransactionId method
returns if this event matches the passed event or transaction id
Implementation
bool matchesEventOrTransactionId(String? search) {
if (search == null) {
return false;
}
if (eventId == search) {
return true;
}
return unsigned?['transaction_id'] == search;
}