Skip to content

DataManagerEvent

An event from a DataManager, emitted on DataManager.events.

Implementers

Constructors

DataManagerEvent

DataManagerEvent(
  1. String type, [
  2. String? message
])

Create a DataManagerEvent.

Properties

message

String? message
getter/setter pair

An optional description of the event.

type

String type
getter/setter pair

The event type, see DataManagerEventTypes.

Methods

toString

String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.