logout method Null safety

Future<void> logout()

Implementation

Future<void> logout() async {
  await _channel.invokeMethod('logout');
}