endSession method
Ends the current session. This is an asynchronous operation. Returns YES if the operation has been started successfully, NO if there is no session currently established or if the operation could not be started.
Implementation
@override
Future<bool> endSession() async {
return await _channel.invokeMethod('endSession');
}