Data class

Contains the data for the occurrence to be sent to Rollbar.

Annotations
  • @sealed
  • @immutable

Constructors

Data({required JsonMap notifier, required String environment, required Client client, required String platform, required String language, required String framework, required String codeVersion, required Level level, required DateTime timestamp, required Body body, User? user, JsonMap? custom, JsonMap? platformPayload, required JsonMap server})
const
Data.from(Data other)
Shallow copy
factory
Data.fromMap(JsonMap json)
factory

Properties

body Body
final
client Client
final
codeVersion String
final
custom → JsonMap?
final
environment String
final
framework String
final
hashCode int
The hash code for this object.
no setterinherited
language String
final
level → Level
final
notifier → JsonMap
final
platform String
final
platformPayload → JsonMap?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server → JsonMap
final
timestamp DateTime
final
user User?
final

Methods

copyWith({JsonMap? notifier, String? environment, Client? client, String? platform, String? language, String? framework, String? codeVersion, Level? level, DateTime? timestamp, Body? body, User? user, JsonMap? custom, JsonMap? platformPayload, JsonMap? server}) Data
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → JsonMap
toString() String
A string representation of this object.
inherited

Operators

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