setReportTypes static method
Sets what type of reports, bug or feedback, should be invoked.
reportTypes
- List of reportTypes
Implementation
static Future<void> setReportTypes(List<ReportType>? reportTypes) async {
final reportTypesStrings =
reportTypes?.map((e) => e.toString()).toList(growable: false) ?? [];
final params = <dynamic>[reportTypesStrings];
await _channel.invokeMethod<Object>('setReportTypes:', params);
}