Encrypted peer-to-peer IM for data security. Own data, own privacy. (Rust+Flutter)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
494 B

import 'dart:async';
import 'package:flutter/services.dart';
class EsseCore {
static const MethodChannel _channel = const MethodChannel('esse_core');
static Future<String> get platformVersion async {
final String version = await _channel.invokeMethod('getPlatformVersion');
return version;
}
static Future<void> daemon(String path) async {
final String version =
await _channel.invokeMethod('daemon', {'path': path});
print("over daemon: " + version);
}
}