getApprovedMethods method

  1. @override
List<String>? getApprovedMethods()
override

List of approved methods by connected wallet

Implementation

@override
List<String>? getApprovedMethods() {
  if (_currentSession == null) {
    return null;
  }
  return _currentSession!.getApprovedMethods();
}