grantConsent method
Grant consent POST /v1/consent/grant
Implementation
Future<Consent> grantConsent({required Map<String, dynamic> body}) async {
final path = '/v1/consent/grant';
final res = await _request(
'POST',
path,
body: body,
);
return Consent.fromJson(Map<String, dynamic>.from(res as Map));
}