copyWith method
Implementation
FoulsModel copyWith({
int? id,
String? reason,
dynamic orderId,
DateTime? createdAt,
}) =>
FoulsModel(
id: id ?? this.id,
reason: reason ?? this.reason,
orderId: orderId ?? this.orderId,
createdAt: createdAt ?? this.createdAt,
);