mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Update settings_model.dart
This commit is contained in:
@ -101,4 +101,32 @@ class SettingsModel {
|
|||||||
String toString() {
|
String toString() {
|
||||||
return toJson().toString();
|
return toJson().toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
return other is SettingsModel &&
|
||||||
|
other.runtimeType == runtimeType &&
|
||||||
|
other.isDark == isDark &&
|
||||||
|
other.alwaysShowCollectionPaneScrollbar ==
|
||||||
|
alwaysShowCollectionPaneScrollbar &&
|
||||||
|
other.size == size &&
|
||||||
|
other.offset == offset &&
|
||||||
|
other.defaultUriScheme == defaultUriScheme &&
|
||||||
|
other.defaultCodeGenLang == defaultCodeGenLang &&
|
||||||
|
other.saveResponses == saveResponses;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
return Object.hash(
|
||||||
|
runtimeType,
|
||||||
|
isDark,
|
||||||
|
alwaysShowCollectionPaneScrollbar,
|
||||||
|
size,
|
||||||
|
offset,
|
||||||
|
defaultUriScheme,
|
||||||
|
defaultCodeGenLang,
|
||||||
|
saveResponses,
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user