warn method
Implementation
Future<void> warn(String? message, {bool takeScreenshot = true, dynamic coordinates, dynamic data}) async {
dynamic response = await logEvent('WARN', message, coordinates, data);
if (takeScreenshot == true) {
await _attachScreenshot(this, response);
}
}