toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "id": id,
      "rate": rate,
      "custom_comment": customComment,
      "order_id": orderId,
      "client_id": clientId,
      "vendor_id": vendorId,
      "created_at": createdAt?.toIso8601String(),
    };