approveSession method

  1. @override
Future<ApproveResponse> approveSession({
  1. required int id,
  2. required Map<String, Namespace> namespaces,
  3. Map<String, String>? sessionProperties,
  4. String? relayProtocol,
})
override

Implementation

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