init method

  1. @override
Future<void> init({
  1. bool allowNotification = false,
  2. String? defaultIconAndroid,
  3. AndroidInitializationSettings? androidInitializationSettings,
  4. DarwinInitializationSettings? darwinInitializationSettings,
})
override

Implementation

@override
Future<void> init({
  bool allowNotification = false,
  String? defaultIconAndroid,
  AndroidInitializationSettings? androidInitializationSettings,
  DarwinInitializationSettings? darwinInitializationSettings,
}) async {
  await EasyDownloader().initFlutter(
    allowNotification: allowNotification,
    defaultIconAndroid: defaultIconAndroid,
    androidInitializationSettings: androidInitializationSettings,
    darwinInitializationSettings: darwinInitializationSettings,
  );
}