MainEvent class

Annotations
  • @freezed

Constructors

MainEvent.init(InitConfig initConfig)
const
factory
MainEvent.routeChanged(String route)
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 init(_Init value), required TResult routeChanged(_RouteChanged value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? init(_Init value)?, TResult? routeChanged(_RouteChanged value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult init(_Init value)?, TResult routeChanged(_RouteChanged value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult init(InitConfig initConfig)?, TResult routeChanged(String route)?, 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 init(InitConfig initConfig), required TResult routeChanged(String route)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? init(InitConfig initConfig)?, TResult? routeChanged(String route)?}) → TResult?
inherited

Operators

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