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).
Constructors
-
SentryOperatingSystem.new({String? name, String? version, String? build, String? kernelVersion, bool? rooted, String? rawDescription, String? theme, Map<
String, dynamic> ? unknown}) -
SentryOperatingSystem.fromJson(Map<
String, dynamic> data) -
Deserializes a SentryOperatingSystem from JSON Map.
factory
Properties
- build ↔ String?
-
The internal build revision of the operating system.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kernelVersion ↔ String?
-
An independent kernel version string.
getter/setter pair
- name ↔ String?
-
The name of the operating system.
getter/setter pair
- rawDescription ↔ String?
-
An unprocessed description string obtained by the operating system.
getter/setter pair
- rooted ↔ bool?
-
A flag indicating whether the OS has been jailbroken or rooted.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme ↔ String?
-
Optional. Either light or dark.
Describes whether the OS runs in dark mode or not.
getter/setter pair
- version ↔ String?
-
The version of the operating system.
getter/setter pair
Methods
-
clone(
) → SentryOperatingSystem -
copyWith(
{String? name, String? version, String? build, String? kernelVersion, bool? rooted, String? rawDescription, String? theme}) → SentryOperatingSystem -
mergeWith(
SentryOperatingSystem other) → 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