WippyToastUiEvent class sealed

Annotations
  • @freezed

Constructors

WippyToastUiEvent.endedInvisibleAnimation()
const
factory
WippyToastUiEvent.endedVisibleAnimation()
const
factory
WippyToastUiEvent.show({required String message, required String? messageKey, @Default.new(true) bool isCancelableMessage})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult show(ShowWippyToastUiEvent value), required TResult endedVisibleAnimation(EndedVisibleAnimationToastUiEvent value), required TResult endedInvisibleAnimation(EndedInvisibleAnimationToastUiEvent value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? show(ShowWippyToastUiEvent value)?, TResult? endedVisibleAnimation(EndedVisibleAnimationToastUiEvent value)?, TResult? endedInvisibleAnimation(EndedInvisibleAnimationToastUiEvent value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult show(ShowWippyToastUiEvent value)?, TResult endedVisibleAnimation(EndedVisibleAnimationToastUiEvent value)?, TResult endedInvisibleAnimation(EndedInvisibleAnimationToastUiEvent value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult show(String message, String? messageKey, bool isCancelableMessage)?, TResult endedVisibleAnimation()?, TResult endedInvisibleAnimation()?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult show(String message, String? messageKey, bool isCancelableMessage), required TResult endedVisibleAnimation(), required TResult endedInvisibleAnimation()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? show(String message, String? messageKey, bool isCancelableMessage)?, TResult? endedVisibleAnimation()?, TResult? endedInvisibleAnimation()?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited