Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Apr 18, 2024
1 parent 2d0d7da commit 29d2647
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/walletconnect_flutter_v2_method_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import 'package:flutter/services.dart';
import 'walletconnect_flutter_v2_platform_interface.dart';

/// An implementation of [WalletconnectFlutterV2Platform] that uses method channels.
class MethodChannelWalletconnectFlutterV2 extends WalletconnectFlutterV2Platform {
class MethodChannelWalletconnectFlutterV2
extends WalletconnectFlutterV2Platform {
/// The method channel used to interact with the native platform.
@visibleForTesting
final methodChannel = const MethodChannel('walletconnect_flutter_v2');

@override
Future<String?> getPlatformVersion() async {
final version = await methodChannel.invokeMethod<String>('getPlatformVersion');
final version =
await methodChannel.invokeMethod<String>('getPlatformVersion');
return version;
}
}
3 changes: 2 additions & 1 deletion lib/walletconnect_flutter_v2_platform_interface.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ abstract class WalletconnectFlutterV2Platform extends PlatformInterface {

static final Object _token = Object();

static WalletconnectFlutterV2Platform _instance = MethodChannelWalletconnectFlutterV2();
static WalletconnectFlutterV2Platform _instance =
MethodChannelWalletconnectFlutterV2();

/// The default instance of [WalletconnectFlutterV2Platform] to use.
///
Expand Down

0 comments on commit 29d2647

Please sign in to comment.