copyWith method
Implementation
ReviewModel copyWith({
int? id,
int? rate,
String? customComment,
int? orderId,
int? clientId,
dynamic vendorId,
DateTime? createdAt,
}) =>
ReviewModel(
id: id ?? this.id,
rate: rate ?? this.rate,
customComment: customComment ?? this.customComment,
orderId: orderId ?? this.orderId,
clientId: clientId ?? this.clientId,
vendorId: vendorId ?? this.vendorId,
createdAt: createdAt ?? this.createdAt,
);