mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-07 14:17:51 +08:00
12 lines
267 B
Dart
12 lines
267 B
Dart
|
void handlePluginEvent(
|
||
|
Map<String, dynamic> evt,
|
||
|
String peer,
|
||
|
Function(Map<String, dynamic> e) handleMsgBox,
|
||
|
) {
|
||
|
if (evt['content']?['c'] == null) return;
|
||
|
final t = evt['content']?['t'];
|
||
|
if (t == 'MsgBox') {
|
||
|
handleMsgBox(evt['content']?['c']);
|
||
|
}
|
||
|
}
|