SentryCulture class

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

Annotations
  • @immutable

Constructors

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

Properties

calendar → String?
Optional: For example GregorianCalendar. Free form string.
final
displayName → String?
Optional: Human readable name of the culture. For example English (United States)
final
hashCode → int
The hash code for this object.
no setterinherited
is24HourFormat → bool?
Optional. boolean, either true or false.
final
locale → String?
Optional. The name identifier, usually following the RFC 4646. For example en-US or pt-BR.
final
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.
final

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