init method

  1. @override
Future<bool> init()

Initializes the socket, and restarts it if a known "safe" error occurs (see allowedErrors).

Implementation

@override
Future<bool> init() async {
  await super.init();
  return true;
}