onOpen property

(Future<void> Function(Connection connection)?) onOpen
final

This callback function will be called after opening the connection.

Implementation

final Future<void> Function(Connection connection)? onOpen;