connect method
Future<ConnectResponse>
connect({
- Map<
String, RequiredNamespace> ? requiredNamespaces, - Map<
String, RequiredNamespace> ? optionalNamespaces, - Map<
String, String> ? sessionProperties, - String? pairingTopic,
- List<
Relay> ? relays, - List<
List< ? methods = ReownSign.DEFAULT_METHODS,String> >
override
Implementation
@override
Future<ConnectResponse> connect({
Map<String, RequiredNamespace>? requiredNamespaces,
Map<String, RequiredNamespace>? optionalNamespaces,
Map<String, String>? sessionProperties,
String? pairingTopic,
List<Relay>? relays,
List<List<String>>? methods = ReownSign.DEFAULT_METHODS,
}) async {
try {
return await engine.connect(
requiredNamespaces: requiredNamespaces,
optionalNamespaces: optionalNamespaces,
sessionProperties: sessionProperties,
pairingTopic: pairingTopic,
relays: relays,
methods: methods,
);
} catch (e) {
// print(e);
rethrow;
}
}