denySession method

  1. @override
Future<bool> denySession(
  1. String sessionId,
  2. String payload
)
override

Implementation

@override
Future<bool> denySession(String sessionId, String payload) async {
  bool? value = await methodChannel.invokeMethod<bool>('denySession', {
    'sessionId': sessionId,
    'payload': payload
  });

  return value ?? false;
}