style: dart format 적용

- 전체 Dart 소스 및 테스트 파일 포매팅 통일
- trailing comma, 줄바꿈, 인덴트 정리
This commit is contained in:
JiWoong Sul
2026-02-13 16:08:23 +09:00
parent bccb5cb188
commit d07a0c5554
42 changed files with 460 additions and 422 deletions

View File

@@ -62,9 +62,7 @@ class Potion {
///
/// 보유 물약 수량 관리 (쿨타임은 CombatState에서 관리)
class PotionInventory {
const PotionInventory({
this.potions = const {},
});
const PotionInventory({this.potions = const {}});
/// 보유 물약 (물약 ID → 수량)
final Map<String, int> potions;
@@ -99,11 +97,7 @@ class PotionInventory {
/// 빈 인벤토리
static const empty = PotionInventory();
PotionInventory copyWith({
Map<String, int>? potions,
}) {
return PotionInventory(
potions: potions ?? this.potions,
);
PotionInventory copyWith({Map<String, int>? potions}) {
return PotionInventory(potions: potions ?? this.potions);
}
}