enableBackgroundDelivery method

  1. @override
Future<bool> enableBackgroundDelivery(
  1. String type,
  2. int frequency
)
override

Implementation

@override
Future<bool> enableBackgroundDelivery(String type, int frequency) async {
  final result =
      await methodChannel.invokeMethod<bool>('enableBackgroundDelivery', {
    'type': type,
    'frequency': frequency,
  });
  return result ?? false;
}