TicketDTO class
Constructors
-
TicketDTO({String? id, String? createdAt, String? updatedAt, bool? isActive, bool? isDeleted, String? title, String? status, int? code, String? delegatedTo, List<
Items> ? items, List<User> ? assignedUsers, User? createdUser, Category? category, StoreDTO? store}) -
TicketDTO.fromJson(Map<
String, dynamic> json)
Properties
-
assignedUsers
↔ List<
User> ? -
getter/setter pair
- category ↔ Category?
-
getter/setter pair
- code ↔ int?
-
getter/setter pair
- createdAt ↔ String?
-
The time when the DTO was created.
getter/setter pairinherited
- createdUser ↔ User?
-
getter/setter pair
- delegatedTo ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The ID of the DTO.
getter/setter pairinherited
- isActive ↔ bool?
-
Whether the DTO is active.
getter/setter pairinherited
- isDeleted ↔ bool?
-
Whether the DTO has been deleted.
getter/setter pairinherited
-
items
↔ List<
Items> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
getter/setter pair
- store ↔ StoreDTO?
-
getter/setter pair
- title ↔ String?
-
getter/setter pair
- updatedAt ↔ String?
-
The time when the DTO was last updated.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the BaseDTO to a JSON object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited