applyConsent method Null safety
- String source,
- TikiSdkDestination destination,
- Function request,
- {void onBlocked( )?,
- String? origin}
Apply consent for a given source
and destination
.
If consent exists for the destination and is not expired, request
will be
executed. Else onBlocked
is called.
Implementation
Future<void> applyConsent(
String source, TikiSdkDestination destination, Function request,
{void Function(String)? onBlocked, String? origin}) async =>
await tikiSdkDart.applyConsent(source, destination, request,
onBlocked: onBlocked, origin: origin);