a
This commit is contained in:
@@ -107,6 +107,7 @@ class TicketModel extends Equatable {
|
||||
final TicketResult? ticketResult;
|
||||
final String? resolutionNotes;
|
||||
final String? customerName;
|
||||
final String? customerEmail;
|
||||
final String? targetModelName;
|
||||
final String? sourceModelName;
|
||||
final String? createdById;
|
||||
@@ -142,6 +143,7 @@ class TicketModel extends Equatable {
|
||||
this.ticketResult,
|
||||
this.resolutionNotes,
|
||||
this.customerName,
|
||||
this.customerEmail,
|
||||
this.targetModelName,
|
||||
this.sourceModelName,
|
||||
this.createdById,
|
||||
@@ -192,6 +194,7 @@ class TicketModel extends Equatable {
|
||||
TicketResult? ticketResult,
|
||||
String? resolutionNotes,
|
||||
String? customerName,
|
||||
String? customerEmail,
|
||||
String? targetModelName,
|
||||
String? sourceModelName,
|
||||
String? createdById,
|
||||
@@ -228,6 +231,7 @@ class TicketModel extends Equatable {
|
||||
ticketResult: ticketResult ?? this.ticketResult,
|
||||
resolutionNotes: resolutionNotes ?? this.resolutionNotes,
|
||||
customerName: customerName ?? this.customerName,
|
||||
customerEmail: customerEmail ?? this.customerEmail,
|
||||
targetModelName: targetModelName ?? this.targetModelName,
|
||||
sourceModelName: sourceModelName ?? this.sourceModelName,
|
||||
createdById: createdById ?? this.createdById,
|
||||
@@ -276,6 +280,7 @@ class TicketModel extends Equatable {
|
||||
ticketResult: TicketResult.fromString(map['ticket_result'] as String?),
|
||||
resolutionNotes: map['resolution_notes'] as String?,
|
||||
customerName: (map['customer']?['name'] as String?).myFormat(),
|
||||
customerEmail: (map['customer']?['email'] as String?).myFormat(),
|
||||
targetModelName: (map['target_model']?['name_with_brand'] as String?)
|
||||
?.myFormat(),
|
||||
sourceModelName: (map['source_model']?['name_with_brand'] as String?)
|
||||
|
||||
Reference in New Issue
Block a user