Commit f35f4f44 by Martijn van Dijk

Change to const

parent 8b61dd7f
...@@ -14,7 +14,7 @@ part 'package:permission_handler/utils/codec.dart'; ...@@ -14,7 +14,7 @@ part 'package:permission_handler/utils/codec.dart';
class PermissionHandler { class PermissionHandler {
factory PermissionHandler() { factory PermissionHandler() {
if (_instance == null) { if (_instance == null) {
final MethodChannel methodChannel = const MethodChannel methodChannel =
const MethodChannel('flutter.baseflow.com/permissions/methods'); const MethodChannel('flutter.baseflow.com/permissions/methods');
_instance = new PermissionHandler.private(methodChannel); _instance = new PermissionHandler.private(methodChannel);
......
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