Panic class
Panic
allows a flutter app to terminate immediately and provide feedback
to the caller of the app.
Panic
should be used when an app reaches an unrecoverable state.
Constructors
-
Panic(GlobalKey<
NavigatorState> _appKey) -
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
-
app(
[String? message]) → void - Terminate app immediately.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited