setInboxConsentState method

  1. @override
Future<bool> setInboxConsentState(
  1. String inboxId,
  2. String state
)
override

Implementation

@override
Future<bool> setInboxConsentState(String inboxId, String state) async {
  final bool result = await methodChannel.invokeMethod('setInboxConsentState', {
    'inboxId': inboxId,
    'state': state,
  });
  return result;
}