copyWith method
Creates a new copy of this event type with the specified values.
Implementation
BlocEventType<T> copyWith({String? eventName, bool? userInitiated}) {
return BlocEventType(
eventName ?? this.eventName,
userInitiated: userInitiated ?? this.userInitiated,
);
}