in my Firebase Crashlytics console, the display will be like this
I try to record the error using the code below
FirebaseCrashlytics.instance.recordError(
error,
null, // I pass null for stackTrace argument in here
reason: "Failed to create cart, createChildList method failed to be executed on cart.dart file.",
fatal: false,
);
the problem is .....
all error recorded using the code above will be displayed as firebase_crashlytics.dart - line 117
it is not descriptive enough. Could I possibly show the dart file name instead? like in the second and third row in the image above?
I suspect it is because I pass null on the stackTrace argument when I recording the error. the problem is, I am confused how to create stackTrace object to be passed on the recordError method
can I show custom title in Firebase Crashlytics when I record the error 'manually' like that ?
