MessagesPlugin class

Messages plugin that saves static properties.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

currentRouteData MessagesRouteData
Get current routing data.
read-only
errorHandler ErrorHandler
read-only
isLoaded bool
Return whether routing configuration was loaded or not.
read-only

Static Methods

display(String message) Future<bool>
Display a pure message.
displayError(String errorMessage, [StackTrace stackTrace]) Future<bool>
Display a errorMessage with error and stack trace.
displayMessages(Messages e) Future<bool>
Display Messages.showMessage if not null.
displayRouting([dynamic routing1, dynamic routing2, dynamic routing3, dynamic routing4, dynamic routing5, dynamic routing6, dynamic routing7, dynamic routing8, dynamic routing9]) Future<bool>
Display a routingMessage with routes.
displayString(String message, [String debugMessage]) Future<bool>
Display a StringMessages with message.
load(JsonElement jsonElement) MessagesRouteData
Load routing configuration with json element into plugin.
loadAsString(String json) MessagesRouteData
Load routing configuration with raw json into plugin.
setDelegate(MessagesDisplayDelegate delegate) → void
Implements this delegate to display your message like println(message) in dart or showToast(message) in flutter.
setErrorHandler(MessagesHandler handler) → void
setErrorTransformer(MessagesTransformer transformer) → void