SentryRuntime class

Describes a runtime in more detail.

Typically this context is used multiple times if multiple runtimes are involved (for instance if you have a JavaScript application running on top of JVM).

Annotations
  • @immutable

Constructors

SentryRuntime({String? key, String? name, String? version, String? compiler, String? rawDescription, String? build})
const
SentryRuntime.fromJson(Map<String, dynamic> data)
Deserializes a SentryRuntime from JSON Map.
factory

Properties

build String?
Application build string, if it is separate from the version.
final
compiler String?
Dart has a couple different compilers. E.g: dart2js, dartdevc, AOT, VM
final
hashCode int
The hash code for this object.
no setterinherited
key String?
Key used in the JSON and which will be displayed in the Sentry UI. Defaults to lower case version of name.
final
name String?
The name of the runtime.
final
rawDescription String?
An unprocessed description string obtained by the runtime.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
The version identifier of the runtime.
final

Methods

clone() SentryRuntime
copyWith({String? key, String? name, String? version, String? compiler, String? rawDescription, String? build}) SentryRuntime
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Produces a Map that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

listType → const String
type → const String