consentableAllowed static method

Future<bool> consentableAllowed(
  1. int iabId,
  2. ConsentableType type
)

Returns true if consentable of ConsentableType type with ID ìabId is ALLOWED.

Implementation

static Future<bool> consentableAllowed(
    int iabId, ConsentableType type) async {
  final bool result = await _channel.invokeMethod(
      'consentableAllowed', {"iabId": iabId, "consentableType": type.index});
  return result;
}