blob: 8f8dd20c90398226a2ca94793fc0280abcd710fd [file]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/services.dart';
class WebviewFlutter {
static const MethodChannel _channel = MethodChannel('webview_flutter');
static Future<String> get platformVersion async {
final String version = await _channel.invokeMethod('getPlatformVersion');
return version;
}
}