2024-04-27 14:25:11 +08:00
|
|
|
// This file is automatically generated, so please do not edit it.
|
2024-05-06 22:48:50 +08:00
|
|
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.33.
|
2024-04-27 14:25:11 +08:00
|
|
|
|
|
|
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
|
|
|
|
|
|
|
import '../frb_generated.dart';
|
|
|
|
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
|
|
|
|
|
|
|
Future<void> sendNotify(
|
|
|
|
{String? summary,
|
|
|
|
String? body,
|
|
|
|
String? appName,
|
|
|
|
String? appId,
|
|
|
|
dynamic hint}) =>
|
|
|
|
RustLib.instance.api.sendNotify(
|
|
|
|
summary: summary,
|
|
|
|
body: body,
|
|
|
|
appName: appName,
|
|
|
|
appId: appId,
|
|
|
|
hint: hint);
|
2024-04-28 22:28:48 +08:00
|
|
|
|
|
|
|
Future<bool> setForegroundWindow({required String windowName, dynamic hint}) =>
|
|
|
|
RustLib.instance.api
|
|
|
|
.setForegroundWindow(windowName: windowName, hint: hint);
|