asMap method
Map asMap() is a method that returns a Map object containing all the properties of the
ClientAccountUpdateContext instance. The keys of the map correspond to the property names, and
the values correspond to the property values.
Implementation
Map asMap() => {
'email': email,
'customId': customId,
'uuid': uuid,
'firstName': firstName,
'lastName': lastName,
'sex': sex?.getSexAsString(),
'phone': phone,
'company': company,
'address': address,
'province': province,
'city': city,
'zipcode': zipcode,
'countrycode': countrycode,
'agreements': agreements?.asMap(),
'attributes': attributes
};