toJson method

Map<String, dynamic> toJson()

Serializes this entry for export (e.g. copy-as-JSON in the Crashes tab).

Implementation

Map<String, dynamic> toJson() => {
  'message': message,
  'stackTrace': stackTrace,
  'timestamp': timestamp.toIso8601String(),
  'isFatal': isFatal,
};