Preferences class

Annotations
  • @JsonSerializable.new()

Constructors

Preferences({@JsonKey.new(name: 'lang') String language = '', @JsonKey.new(name: 'date_format') DateFormatPreference? dateFormat, @JsonKey.new(name: 'time_format') TimeFormatPreference? timeFormat, @JsonKey.new(name: 'pinned_studies') Set<String> pinnedStudies = const {}, @JsonKey.new(name: 'study_filtering') Map<String, dynamic> studyFiltering = const {}})
Preferences.fromJson(Map<String, dynamic> json)
factory

Properties

dateFormat ↔ DateFormatPreference?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
language ↔ String
getter/setter pair
pinnedStudies ↔ Set<String>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
studyFiltering ↔ Map<String, dynamic>
getter/setter pair
timeFormat ↔ TimeFormatPreference?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited