approve method
Future<ApproveResponse>
approve({
- required int id,
- required Map<
String, Namespace> namespaces, - Map<
String, String> ? sessionProperties, - String? relayProtocol,
override
Implementation
@override
Future<ApproveResponse> approve({
required int id,
required Map<String, Namespace> namespaces,
Map<String, String>? sessionProperties,
String? relayProtocol,
}) async {
try {
return await engine.approveSession(
id: id,
namespaces: namespaces,
sessionProperties: sessionProperties,
relayProtocol: relayProtocol,
);
} catch (e) {
rethrow;
}
}