NodesConnectedEvent constructor Null safety

NodesConnectedEvent(
  1. {required GraphObjectId contextId,
  2. required GraphObjectId sourceId,
  3. required GraphObjectId destinationId,
  4. num? sourceOutputIndex,
  5. num? destinationInputIndex}
)

Implementation

NodesConnectedEvent(
    {required this.contextId,
    required this.sourceId,
    required this.destinationId,
    this.sourceOutputIndex,
    this.destinationInputIndex});