toMap method

Map toMap()

Conversio customer to Map

Implementation

Map toMap() {
  Map map = Map();
  if (id != null) map[_ID] = id;
  if (customerId != null) map[_CUSTOMER_ID] = customerId;
  if (updateAt != null) map[_UPDATED_AT] = updateAt;
  if (applicationId != null) map[_APPLICATION_ID] = applicationId;
  if (createdAt != null) map[_CREATED_AT] = createdAt;
  return map;
}