Initial commit: SubManager Flutter App
주요 구현 완료 기능: - 구독 관리 (추가/편집/삭제/카테고리 분류) - 이벤트 할인 시스템 (기본값 자동 설정) - SMS 자동 스캔 및 구독 정보 추출 - 알림 시스템 (타임존 처리 안정화) - 환율 변환 지원 (KRW/USD) - 반응형 UI 및 애니메이션 - 다국어 지원 (한국어/영어) 버그 수정: - NotificationService tz.local 초기화 오류 해결 - MainScreenSummaryCard 레이아웃 오버플로우 수정 - 구독 추가 시 LateInitializationError 완전 해결 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
83
lib/models/subscription_model.g.dart
Normal file
83
lib/models/subscription_model.g.dart
Normal file
@@ -0,0 +1,83 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'subscription_model.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// TypeAdapterGenerator
|
||||
// **************************************************************************
|
||||
|
||||
class SubscriptionModelAdapter extends TypeAdapter<SubscriptionModel> {
|
||||
@override
|
||||
final int typeId = 0;
|
||||
|
||||
@override
|
||||
SubscriptionModel read(BinaryReader reader) {
|
||||
final numOfFields = reader.readByte();
|
||||
final fields = <int, dynamic>{
|
||||
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
|
||||
};
|
||||
return SubscriptionModel(
|
||||
id: fields[0] as String,
|
||||
serviceName: fields[1] as String,
|
||||
monthlyCost: fields[2] as double,
|
||||
billingCycle: fields[3] as String,
|
||||
nextBillingDate: fields[4] as DateTime,
|
||||
isAutoDetected: fields[5] as bool,
|
||||
categoryId: fields[6] as String?,
|
||||
websiteUrl: fields[7] as String?,
|
||||
repeatCount: fields[8] as int,
|
||||
lastPaymentDate: fields[9] as DateTime?,
|
||||
currency: fields[10] as String,
|
||||
isEventActive: fields[11] as bool,
|
||||
eventStartDate: fields[12] as DateTime?,
|
||||
eventEndDate: fields[13] as DateTime?,
|
||||
eventPrice: fields[14] as double?,
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void write(BinaryWriter writer, SubscriptionModel obj) {
|
||||
writer
|
||||
..writeByte(15)
|
||||
..writeByte(0)
|
||||
..write(obj.id)
|
||||
..writeByte(1)
|
||||
..write(obj.serviceName)
|
||||
..writeByte(2)
|
||||
..write(obj.monthlyCost)
|
||||
..writeByte(3)
|
||||
..write(obj.billingCycle)
|
||||
..writeByte(4)
|
||||
..write(obj.nextBillingDate)
|
||||
..writeByte(5)
|
||||
..write(obj.isAutoDetected)
|
||||
..writeByte(6)
|
||||
..write(obj.categoryId)
|
||||
..writeByte(7)
|
||||
..write(obj.websiteUrl)
|
||||
..writeByte(8)
|
||||
..write(obj.repeatCount)
|
||||
..writeByte(9)
|
||||
..write(obj.lastPaymentDate)
|
||||
..writeByte(10)
|
||||
..write(obj.currency)
|
||||
..writeByte(11)
|
||||
..write(obj.isEventActive)
|
||||
..writeByte(12)
|
||||
..write(obj.eventStartDate)
|
||||
..writeByte(13)
|
||||
..write(obj.eventEndDate)
|
||||
..writeByte(14)
|
||||
..write(obj.eventPrice);
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => typeId.hashCode;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is SubscriptionModelAdapter &&
|
||||
runtimeType == other.runtimeType &&
|
||||
typeId == other.typeId;
|
||||
}
|
||||
Reference in New Issue
Block a user