toJson method
Implementation
Map<String, dynamic> toJson() => {
"value": value.toJson(),
"properties": properties,
"_id": id,
"walletId": walletId,
"type": type,
"status": status,
"rewardType": rewardType,
"note": note,
"createdAt": createdAt.toIso8601String(),
"updatedAt": updatedAt.toIso8601String(),
"__v": v,
};