disconnect method Null safety

void disconnect()

Implementation

void disconnect() async{
  await _platform.invokeMethod('disconnect');
}