Optional method which determines equality between two events
final bool Function(S e1, S e2)? equals;