CrashReportModel class
Properties
context
↔ DiagnosticsNode ?
Use this in case you need to know the context details
getter/setter pair
createdAt
↔ DateTime ?
Auto generated DateTime of the report
getter/setter pair
description
↔ String ?
The description might be useful to know what is happening before this request
Don't sent any catch(e) here
This description must be written by hands that explain the function previously launched
getter/setter pair
exception
↔ Object ?
The come from FlutterError
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter inherited
library
↔ String ?
Which library is faulty
getter/setter pair
reason
↔ String ?
This is the reason of the crash
You can write here if you expect a reason of crash depending on the function
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
stackTrace
↔ StackTrace ?
Get the stack trace
getter/setter pair
type
↔ CrashlitycsType ?
Here we define by default http request
But you can override this
This value is used to know in which type of context the error happens
getter/setter pair
url
↔ String ?
The url is useful when you want to keep a trace of the URL called for an API request for example
getter/setter pair
userId
↔ int ?
You can link the report to a specific user id
getter/setter pair
inbase_crashlitycs 0.0.61