fromMap method

void fromMap(
  1. Map<String, dynamic> map
)

Implementation

void fromMap(Map<String, dynamic> map) {
  uuid = map[TMaster.uuid];
  name = map[TMaster.name] ?? '';
  isActive = map[TMaster.isActive] == 1;
  by = map[TMaster.by];
  createdAt = map[TMaster.createdAt];
  updatedAt = map[TMaster.updatedAt];
  serverAt = map[TMaster.serverAt];
  deleted = map[TMaster.deleted];

  onFromMap(map);
}