part of 'report_bloc.dart'; @freezed class ReportState with _$ReportState { factory ReportState({ required String title, required DateTime startDate, required DateTime endDate, required String rangeDateFormatted, @Default(0) int selectedMenu, }) = _ReportState; factory ReportState.initial() => ReportState( title: 'Ringkasan Laporan Penjualan', startDate: DateTime.now(), endDate: DateTime.now(), rangeDateFormatted: '${DateTime.now().toFormattedDate()} - ${DateTime.now().toFormattedDate()}', ); }