181186 - Criar PDV Android para rodar em maquinas P.O.S.
This commit is contained in:
commit
c9983cbad5
204 files changed
+11453
No files matched your search
@@ -0,0 +1,20 @@
|
||||
class AppSettings {
|
||||
const AppSettings({
|
||||
required this.serverUrl,
|
||||
required this.companyIdentifier,
|
||||
});
|
||||
|
||||
final String serverUrl;
|
||||
final String companyIdentifier;
|
||||
|
||||
bool get isConfigured => serverUrl.isNotEmpty && companyIdentifier.isNotEmpty;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
other is AppSettings &&
|
||||
other.serverUrl == serverUrl &&
|
||||
other.companyIdentifier == companyIdentifier;
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(serverUrl, companyIdentifier);
|
||||
}
|
||||
Reference in new issue
Block a user