WalletConnectUtils class

Constructors

WalletConnectUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

calculateExpiry(int offset) int
convertMapTo<T>(Map<String, dynamic> inMap) Map<String, T>
expiryToDateTime(int expiry) DateTime
formatRelayParams(Relay relay, {String delimiter = '-'}) Map<String, String>
formatRelayRpcUrl({required String protocol, required int version, required String relayUrl, required String sdkVersion, required String auth, String? projectId, String? packageName}) String
formatUA(String protocol, int version, String sdkVersion) String
formatUri({required String protocol, required String version, required String topic, required String symKey, required Relay relay, required List<List<String>>? methods}) Uri
getId() String
getOS() String
getPackageName() Future<String>
isExpired(int expiry) bool
parseUri(Uri uri) URIParseResult
---- URI HANDLING --- ///
toMilliseconds(int seconds) int