Add new builtin profiles, better handline of initialization, bump version

This commit is contained in:
stopflock
2025-10-24 16:23:09 -05:00
parent 2a7004e5a2
commit c8ae925dc1
6 changed files with 78 additions and 16 deletions
+22
View File
@@ -13,6 +13,28 @@ class OperatorProfile {
required this.tags,
});
/// Built-in default: Lowe's operator profile
factory OperatorProfile.lowes() => OperatorProfile(
id: 'builtin-lowes',
name: "Lowe's",
tags: const {
'operator': "Lowe's",
'operator:wikidata': 'Q1373493',
'operator:type': 'private',
},
);
/// Built-in default: The Home Depot operator profile
factory OperatorProfile.homeDepot() => OperatorProfile(
id: 'builtin-home-depot',
name: 'The Home Depot',
tags: const {
'operator': 'The Home Depot',
'operator:wikidata': 'Q864407',
'operator:type': 'private',
},
);
OperatorProfile copyWith({
String? id,
String? name,