mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 05:32:26 +08:00
Update settings_model.dart
This commit is contained in:
@ -101,4 +101,32 @@ class SettingsModel {
|
||||
String 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