style: apply dart format across project
This commit is contained in:
@@ -336,22 +336,22 @@ class LegacyServiceData {
|
||||
|
||||
// 모든 서비스 매핑을 합친 맵
|
||||
static Map<String, String> get allServices => {
|
||||
...ottServices,
|
||||
...musicServices,
|
||||
...storageServices,
|
||||
...aiServices,
|
||||
...programmingServices,
|
||||
...officeTools,
|
||||
...lifestyleServices,
|
||||
...shoppingServices,
|
||||
...telecomServices,
|
||||
...otherServices,
|
||||
};
|
||||
...ottServices,
|
||||
...musicServices,
|
||||
...storageServices,
|
||||
...aiServices,
|
||||
...programmingServices,
|
||||
...officeTools,
|
||||
...lifestyleServices,
|
||||
...shoppingServices,
|
||||
...telecomServices,
|
||||
...otherServices,
|
||||
};
|
||||
|
||||
/// 서비스 카테고리 찾기
|
||||
static String? getCategoryForService(String serviceName) {
|
||||
final lowerName = serviceName.toLowerCase();
|
||||
|
||||
|
||||
if (ottServices.containsKey(lowerName)) return 'ott';
|
||||
if (musicServices.containsKey(lowerName)) return 'music';
|
||||
if (storageServices.containsKey(lowerName)) return 'storage';
|
||||
@@ -362,7 +362,7 @@ class LegacyServiceData {
|
||||
if (shoppingServices.containsKey(lowerName)) return 'shopping';
|
||||
if (telecomServices.containsKey(lowerName)) return 'telecom';
|
||||
if (otherServices.containsKey(lowerName)) return 'other';
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user