tools.dart 276 Bytes
import 'dart:async';

import 'package:flutter/services.dart';

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

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