cacheAuthorization method

  1. @override
Future<bool> cacheAuthorization({
  1. required String authorization,
  2. String tag = 'default',
})
override

Implementation

@override
Future<bool> cacheAuthorization({
  required String authorization,
  String tag = 'default',
}) async {
  final ok = await methodChannel.invokeMethod<bool>('cacheAuthorization', {
    'authorization': authorization,
    'tag': tag,
  });
  return ok ?? false;
}