nc-photos/lib/mobile/android/notification.dart

14 lines
420 B
Dart
Raw Normal View History

import 'package:flutter/services.dart';
class Notification {
static Future<void> notifyItemsDownloadSuccessful(
List<String> fileUris, List<String> mimeTypes) =>
_channel.invokeMethod("notifyItemsDownloadSuccessful", <String, dynamic>{
"fileUris": fileUris,
"mimeTypes": mimeTypes,
});
static const _channel =
const MethodChannel("com.nkming.nc_photos/notification");
}