toJson method
Implementation
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
if (_$data.containsKey('mark')) {
final l$mark = mark;
result$data['mark'] = l$mark;
}
if (_$data.containsKey('comment')) {
final l$comment = comment;
result$data['comment'] = l$comment;
}
if (_$data.containsKey('user')) {
final l$user = user;
result$data['user'] = l$user;
}
if (_$data.containsKey('product')) {
final l$product = product;
result$data['product'] = l$product;
}
if (_$data.containsKey('reviewType')) {
final l$reviewType = reviewType;
result$data['reviewType'] = l$reviewType;
}
return result$data;
}