Report class Null safety

Constructors

Report(dynamic error, dynamic stackTrace, DateTime dateTime, Map<String, dynamic> deviceParameters, Map<String, dynamic> applicationParameters, Map<String, dynamic> customParameters, FlutterErrorDetails? errorDetails, PlatformType platformType, File? screenshot)
Creates report instance

Properties

applicationParameters Map<String, dynamic>
Application info
final
customParameters Map<String, dynamic>
Custom parameters passed to report
final
dateTime DateTime
Time when it was catched
final
deviceParameters Map<String, dynamic>
Device info
final
error → dynamic
Error that has been catched
final
errorDetails FlutterErrorDetails?
FlutterErrorDetails data if present
final
hashCode int
The hash code for this object. [...]
read-only, inherited
platformType PlatformType
Type of platform used
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
screenshot File?
Screenshot of screen where error happens. Screenshot won't work everywhere (i.e. web platform), so this may be null.
final
stackTrace → dynamic
Stack trace of error
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson({bool enableDeviceParameters = true, bool enableApplicationParameters = true, bool enableStackTrace = true, bool enableCustomParameters = false}) Map<String, dynamic>
Creates json from current instance
toString() String
A string representation of this object. [...]
inherited

Operators

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