setInvocationEvents static method
Sets the events that invoke the feedback form.
Default is set by Instabug.startWithToken
.
invocationEvents
invocationEvent List of events that invokes the
Implementation
static Future<void> setInvocationEvents(
List<InvocationEvent>? invocationEvents) async {
final invocationEventsStrings =
invocationEvents?.map((e) => e.toString()).toList(growable: false) ??
[];
final params = <dynamic>[invocationEventsStrings];
await _channel.invokeMethod<Object>('setInvocationEvents:', params);
}