SentryCulture class

Culture Context describes certain properties of the culture in which the software is used.

Constructors

SentryCulture.new({String? calendar, String? displayName, String? locale, bool? is24HourFormat, String? timezone, Map<String, dynamic>? unknown})
SentryCulture.fromJson(Map<String, dynamic> data)
factory

Properties

calendar String?
Optional: For example GregorianCalendar. Free form string.
getter/setter pair
displayName String?
Optional: Human readable name of the culture. For example English (United States)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
is24HourFormat bool?
Optional. boolean, either true or false.
getter/setter pair
locale String?
Optional. The name identifier, usually following the RFC 4646. For example en-US or pt-BR.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timezone String?
Optional. The timezone of the locale. For example, Europe/Vienna.
getter/setter pair

Methods

clone() SentryCulture
copyWith({String? calendar, String? displayName, String? locale, bool? is24HourFormat, String? timezone}) SentryCulture
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