Customer constructor

Customer(
  1. Map map
)

constructor of Customer

Implementation

Customer(Map map) {
  map.forEach((key, value) {
    switch (key) {
      case _ID:
        id = value.toString();
        break;
      case _CUSTOMER_ID:
        id = value.toString();
        break;
      case _APPLICATION_ID:
        id = value.toString();
        break;
      case _UPDATED_AT:
        id = value.toString();
        break;
      case _CREATED_AT:
        id = value.toString();
        break;
    }
  });
}