SentryOperatingSystem class

Describes the operating system on which the event was created.

In web contexts, this is the operating system of the browse (normally pulled from the User-Agent string).

Annotations
  • @immutable

Constructors

SentryOperatingSystem({String? name, String? version, String? build, String? kernelVersion, bool? rooted, String? rawDescription})
const
SentryOperatingSystem.fromJson(Map<String, dynamic> data)
factory

Properties

build String?
The internal build revision of the operating system.
final
hashCode int
The hash code for this object.
no setterinherited
kernelVersion String?
An independent kernel version string.
final
name String?
The name of the operating system.
final
rawDescription String?
An unprocessed description string obtained by the operating system.
final
rooted bool?
A flag indicating whether the OS has been jailbroken or rooted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
The version of the operating system.
final

Methods

clone() SentryOperatingSystem
copyWith({String? name, String? version, String? build, String? kernelVersion, bool? rooted, String? rawDescription}) SentryOperatingSystem
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

type → const String