CrashReportModel class

Constructors

CrashReportModel({DiagnosticsNode? context, Object? exception, StackTrace? stackTrace, String? library, DateTime? createdAt, int? userId, String? description, String? url, CrashlitycsType? type, String? reason})

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 setterinherited
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 setterinherited
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited