GameError<G extends Game<Event>> class
abstract
Methods
-
map<TResult extends Object?>({required TResult game(GameValue<Game<Event>> value), required TResult error(GameError<Game<Event>> value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult game(GameValue<Game<Event>> value)?, TResult error(GameError<Game<Event>> value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult game(GameValue<Game<Event>> value)?, TResult error(GameError<Game<Event>> value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult game(Game<Event> game)?, TResult error(String message, String person)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult game(Game<Event> game), required TResult error(String message, String person)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult game(Game<Event> game)?, TResult error(String message, String person)?})
→ TResult?
-
inherited