HelpTicketIntake class

Constructors

HelpTicketIntake({String? description, String? email, String? priority, String? subject})
Returns a new HelpTicketIntake instance.

Properties

description ↔ String?
Description is the customer's message. Optional; it becomes the ticket's description AND the opening entry of its conversation thread. Clipped at 16 KiB.
getter/setter pair
email ↔ String?
Email is how the support team replies. Required; clipped at 320 characters (the RFC 5321 maximum). It is recorded as the ticket's customer, and it is not verified.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
priority ↔ String?
Priority is Low, Medium, High or Urgent, case-insensitively. Anything else — including omitting it — is recorded as Medium rather than refused.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subject ↔ String?
Subject is the one-line summary of the problem. Required; longer than 300 characters is clipped rather than refused.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → HelpTicketIntake?
Returns a new HelpTicketIntake instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<HelpTicketIntake>
mapFromJson(dynamic json) → Map<String, HelpTicketIntake>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<HelpTicketIntake>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.