toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "order": order?.toJson(),
      "customer": customer?.toJson(),
      "card": card?.toJson(),
      "user": user?.toJson(),
    };