LabourLabourContact class

One entry of a Labour's labour_contacts.

Inheritance

Constructors

LabourLabourContact({String? addressLine1, String? addressLine2, String? addressLine3, String? addressLine4, String? addressLine5, String? city, String? contactType, String? country, String? designation, String? emailAddress, LabourLabourContactFax? fax, String? firstName, String? id, String? lastName, Object? middleName, LabourLabourContactMobile? mobile, String? object, LabourLabourContactPhone? phone, String? postCode, bool? receiveEmail, String? salutation, String? state, String? status})
const

Properties

addressLine1 → String?
final
addressLine2 → String?
final
addressLine3 → String?
final
addressLine4 → String?
final
addressLine5 → String?
final
city → String?
final
contactType → String?
final
country → String?
final
designation → String?
final
emailAddress → String?
final
envelopeKey → String?
The key the API wraps this record in - 'account' for {"account": {...}}. readRecord unwraps it on the way in, toMap puts it back on the way out.
no setterinherited
fax → LabourLabourContactFax?
final
fields → Map<String, Object?>
Every field this type declares, keyed by wire name, in the order it sends them.
no setteroverride
firstName → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
lastName → String?
final
middleName → Object?
final
mobile → LabourLabourContactMobile?
final
object → String?
final
phone → LabourLabourContactPhone?
final
postCode → String?
final
receiveEmail → bool?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
salutation → String?
final
state → String?
final
status → String?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
The body this DTO stands for, envelope included.
inherited
toString() → String
Set fields, values under a secret-named key masked.
inherited

Operators

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

Static Methods

fromMap(Object? body) → LabourLabourContact?