toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'name': name,
    'email': email,
    'phone': phone,
    'external_id': externalId,
    'note': note,
    'note_update_method': noteUpdateMethod?.name,
    'custom_attributes': customAttributes,
    'custom_attributes_update_method': customAttrsUpdateMethod?.name,
  };
}