createInstance static method
Future<ReownSignClient>
createInstance(
{ - required String projectId,
- String relayUrl = ReownConstants.DEFAULT_RELAY_URL,
- required PairingMetadata metadata,
- bool memoryStore = false,
- LogLevel logLevel = LogLevel.nothing,
})
Implementation
static Future<ReownSignClient> createInstance({
required String projectId,
String relayUrl = ReownConstants.DEFAULT_RELAY_URL,
required PairingMetadata metadata,
bool memoryStore = false,
LogLevel logLevel = LogLevel.nothing,
}) async {
final client = ReownSignClient(
core: ReownCore(
projectId: projectId,
relayUrl: relayUrl,
memoryStore: memoryStore,
logLevel: logLevel,
),
metadata: metadata,
);
await client.init();
return client;
}