copyWith method

GramRevenueStatistics copyWith({
  1. StatisticalGraph? revenueByDayGraph,
  2. GramRevenueStatus? status,
  3. double? usdRate,
})

Implementation

GramRevenueStatistics copyWith({
  StatisticalGraph? revenueByDayGraph,
  GramRevenueStatus? status,
  double? usdRate,
}) => GramRevenueStatistics(
  revenueByDayGraph: revenueByDayGraph ?? this.revenueByDayGraph,
  status: status ?? this.status,
  usdRate: usdRate ?? this.usdRate,
);