fromEntity static method
Implementation
static TaskModel? fromEntity(TaskEntity? entity) {
if (entity == null) return null;
var mapper = TaskModelRegistry.registry()!.getMapper(entity.identifier);
TaskModelRegistry.registry()!.getMapper(entity.identifier);
if (mapper != null) {
return mapper.fromEntity(entity);
}
return null;
}