MPSEvent<T> class

Model object passed as the second argument in MPSFunctionBuilder.

Constructors

MPSEvent(String type, [T? data])
Creates a new MPSEvent object with the given type and data.
const
MPSEvent.empty()
Creates an empty MPSEvent object with an empty type.
factory

Properties

data → T?
The data associated with the event.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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