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, String? theme, Map<
String, dynamic> ? unknown}) -
const
-
SentryOperatingSystem.fromJson(Map<
String, dynamic> data) -
Deserializes a SentryOperatingSystem from JSON Map.
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
- theme → String?
-
Optional. Either light or dark.
Describes whether the OS runs in dark mode or not.
final
-
unknown
→ Map<
String, dynamic> ? -
final
- 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, 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