Settings constructor Null safety
Settings description
Implementation
const factory Settings({
/// [themeMode] is the current theme mode set by the settings.
required ThemeMode themeMode,
/// [extra] is a map of additional properties.
@JsonExtra() @Default({}) Map<String, dynamic> extra,
}) = _Settings;