Initial commit of Doormile CRM Mobile with UI modernizations
This commit is contained in:
31
lib/models/app_stats.dart
Normal file
31
lib/models/app_stats.dart
Normal file
@@ -0,0 +1,31 @@
|
||||
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,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user