WalletConnectVersion enum

WalletConnect URI version

WalletConnectVersion.unknown - Unknown or not supported version WalletConnectVersion.v1 - WalletConnect v1 WalletConnectVersion.v2 - WalletConnect v2

Inheritance
Available extensions

Values

unknown → const WalletConnectVersion
const WalletConnectVersion(0)
v1 → const WalletConnectVersion
const WalletConnectVersion(1)
v2 → const WalletConnectVersion
const WalletConnectVersion(2)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
final

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

from(int value) WalletConnectVersion
Get WalletConnectVersion from int that contains version number
parse(String value) WalletConnectVersion
Parse WalletConnectVersion from String that contains version number

Constants

values → const List<WalletConnectVersion>
A constant List of the values in this enum, in order of their declaration.