Commit 79afc775 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Plugin template uses new channel name (#9453)

parent 2cf50ce5
......@@ -3,8 +3,8 @@ import 'dart:async';
import 'package:flutter/services.dart';
class {{pluginDartClass}} {
static const PlatformMethodChannel _channel =
const PlatformMethodChannel('{{projectName}}');
static const MethodChannel _channel =
const MethodChannel('{{projectName}}');
static Future<String> get platformVersion =>
_channel.invokeMethod('getPlatformVersion');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment