JoinedPayload<FirstLogicType extends Logic, SecondLogicType extends Logic> constructor
- FirstLogicType first,
- SecondLogicType second, {
- String name = 'join_payload',
Creates a typed pair payload for a joined transfer.
Implementation
JoinedPayload(
FirstLogicType first,
SecondLogicType second, {
String name = 'join_payload',
}) : super([first, second], name: name) {
this.first = elements[0] as FirstLogicType;
this.second = elements[1] as SecondLogicType;
}