errorDetailsHelper static method
Implementation
static Map<String, dynamic> errorDetailsHelper(
FlutterErrorDetails fed, String type) {
final Map<String, dynamic> data = {};
final String errorString = fed.exception.runtimeType.toString();
data["name"] = errorString;
data["message"] = fed.toStringShort();
data["stacktrace"] = fed.stack.toString();
data["handled"] = true;
tlLogger.v(
"!!! Flutter exception, type: $type, class: $errorString, hash: ${fed.exception.hashCode}");
return data;
}