endSession method
Implementation
@override
Future<bool> endSession(IAMPASSAuthenticationSession session) async {
String encodedSession = jsonEncode(session.toJson());
Map<String, String> args = {"session": encodedSession};
final result = await methodChannel.invokeMethod<bool>('EndSession', args);
return result ?? false;
}