Settings class Null safety

Settings description

Annotations

Constructors

Settings({required ThemeMode themeMode, @JsonExtra() @Default({}) Map<String, dynamic> extra})
Settings description
const
factory
Settings.fromJson(Map<String, dynamic> data)
Creates a Settings from Json map
factory

Properties

copyWith → $SettingsCopyWith<Settings>
read-onlyinherited
extra Map<String, dynamic>
extra is a map of additional properties.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
themeMode ThemeMode
themeMode is the current theme mode set by the settings.
read-onlyinherited

Methods

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

Operators

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