mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
14 lines
349 B
Dart
14 lines
349 B
Dart
|
|
import 'dart:async';
|
|
import 'package:flutter/services.dart';
|
|
import 'package:veilid/bridge_generated.dart';
|
|
|
|
class Veilid {
|
|
static const MethodChannel _channel = MethodChannel('veilid');
|
|
|
|
static Future<String?> get platformVersion async {
|
|
final String? version = await _channel.invokeMethod('getPlatformVersion');
|
|
return version;
|
|
}
|
|
}
|