getConnection abstract method

Future<Map<String, Object?>> getConnection()

Returns the current connection, in the same format as the connectionChanged event.

Implementation

Future<Map<String, Object?>> getConnection();