This repository has been archived on 2023-09-08. You can view files and clone it, but cannot push or open issues or pull requests.
moxplatform/packages/moxplatform_linux/lib/moxplatform_linux.dart

14 lines
434 B
Dart

import "package:moxplatform_generic/isolate_generic.dart";
import "package:moxplatform_platform_interface/moxplatform_platform_interface.dart";
class MoxplatformLinuxPlugin extends MoxplatformInterface {
static void registerWith() {
print("MoxplatformLinuxPlugin: Registering implementation");
MoxplatformInterface.handler = GenericIsolateHandler();
}
@override
Future<String> getPlatformName() async => "Linux";
}