copyWith method

StatusModel copyWith({
  1. ContextModel? context,
  2. String? value,
  3. num? total_paid,
})

Implementation

StatusModel copyWith({
  ContextModel? context,
  String? value,
  num? total_paid,
}) {
  return StatusModel(
    context: context ?? this.context,
    value: value ?? this.value,
    total_paid: total_paid ?? this.total_paid,
  );
}