toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "id": id,
      "type": type,
      "display_id": displayId,
      "amount": amount,
      "order": order,
      "status": status,
      "phone": phone,
      "created_at": createdAt,
    };