import '../../features/devices/domain/entities/device_entity.dart'; abstract class BaseModel { BaseModel.fromJson(Map json); Map toJson(); toEntity(); BaseModel.fromEntity(DeviceEntity entity); }