style: dart format 적용
- 전체 Dart 소스 및 테스트 파일 포매팅 통일 - trailing comma, 줄바꿈, 인덴트 정리
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user