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 = 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 = DEFAULT_METHODS,
}) async {
try {
return await signEngine.connect(
requiredNamespaces: requiredNamespaces,
optionalNamespaces: optionalNamespaces,
sessionProperties: sessionProperties,
pairingTopic: pairingTopic,
relays: relays,
methods: methods,
);
} catch (e) {
// print(e);
rethrow;
}
}