authenticate method

Future<void> authenticate(
  1. String token
)

Authenticates with the server

Implementation

Future<void> authenticate(String token) async {
  _send({
    'type': 'auth',
    'data': {'token': token},
  });
}