CrashHiveModel class

Annotations
  • @HiveType.new(typeId: 0)

Constructors

CrashHiveModel({dynamic id, required String projectKey, required String platform, required String language, required DateTime occurredAt, required String exceptionType, required String errorMessage, required String stackTrace, required Map<String, dynamic> environment, required List<Map<String, dynamic>> breadcrumbs})
CrashHiveModel.fromEntity(Crash crash)
factory

Properties

box → BoxBase?
Get the box in which this object is stored. Returns null if object has not been added to a box yet.
no setterinherited
final
environment → Map<String, dynamic>
final
errorMessage → String
final
exceptionType → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → dynamic
final
isInBox → bool
Returns whether this object is currently stored in a box.
no setterinherited
key → dynamic
Get the key associated with this object. Returns null if object has not been added to a box yet.
no setterinherited
language → String
final
occurredAt → DateTime
final
platform → String
final
projectKey → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → String
final

Methods

delete() → Future<void>
Deletes this object from the box it is stored in.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save() → Future<void>
Persists this object.
inherited
toEntity() → Crash
toString() → String
A string representation of this object.
inherited

Operators

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