mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 09:16:19 +01:00
13 lines
400 B
Dart
13 lines
400 B
Dart
import 'package:flutter/services.dart';
|
|
|
|
class Notification {
|
|
static Future<void> notifyItemDownloadSuccessful(
|
|
String fileUri, String mimeType) =>
|
|
_channel.invokeMethod("notifyItemDownloadSuccessful", <String, dynamic>{
|
|
"fileUri": fileUri,
|
|
"mimeType": mimeType,
|
|
});
|
|
|
|
static const _channel =
|
|
const MethodChannel("com.nkming.nc_photos/notification");
|
|
}
|