Values<T1, T2> class
Represents an EventArgs derived class with two (generic) values.
For use as a quick alternative to defining your own custom EventArgs class. Provides value1 and value2 fields containing the values supplied on creation.
See also Value which supports 1 (generic) value.
// example
var e = Event<Values<String, int>>();
e.subscribe((args) => print('${args.value1} : ${args.value2}'));
e.broadcast(Values('boom', 37));
// outputs: boom : 37
Constructors
Properties
Methods
-
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