32 lines
835 B
Dart
32 lines
835 B
Dart
class AppStats {
|
|
final int totalClients;
|
|
final int avgVolume;
|
|
final double revenueOpportunity;
|
|
final int todayEntries;
|
|
final int pendingFollowups;
|
|
|
|
const AppStats({
|
|
required this.totalClients,
|
|
required this.avgVolume,
|
|
required this.revenueOpportunity,
|
|
required this.todayEntries,
|
|
required this.pendingFollowups,
|
|
});
|
|
|
|
AppStats copyWith({
|
|
int? totalClients,
|
|
int? avgVolume,
|
|
double? revenueOpportunity,
|
|
int? todayEntries,
|
|
int? pendingFollowups,
|
|
}) {
|
|
return AppStats(
|
|
totalClients: totalClients ?? this.totalClients,
|
|
avgVolume: avgVolume ?? this.avgVolume,
|
|
revenueOpportunity: revenueOpportunity ?? this.revenueOpportunity,
|
|
todayEntries: todayEntries ?? this.todayEntries,
|
|
pendingFollowups: pendingFollowups ?? this.pendingFollowups,
|
|
);
|
|
}
|
|
}
|