mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-04 11:59:18 +08:00
15 lines
299 B
Dart
15 lines
299 B
Dart
|
abstract class NativeHandler {
|
||
|
bool onEvent(Map<String, dynamic> evt);
|
||
|
}
|
||
|
|
||
|
class NativeUiHandler extends NativeHandler {
|
||
|
NativeUiHandler._();
|
||
|
|
||
|
static NativeUiHandler instance = NativeUiHandler._();
|
||
|
|
||
|
@override
|
||
|
bool onEvent(Map<String, dynamic> evt) {
|
||
|
throw UnimplementedError();
|
||
|
}
|
||
|
}
|