tools.dart 313 Bytes
import 'dart:convert';

import 'package:flutter/services.dart';
import 'package:one_key/utils/utils.dart';

class Tools {
  static const MethodChannel _channel = MethodChannel("com.naji/book");

  Future<Map> getIntent() async {
    Map result = await _channel.invokeMethod("getIntent");
    return result;
  }
}