9 lines
239 B
Dart
9 lines
239 B
Dart
|
|
import '../../features/devices/domain/entities/device_entity.dart';
|
||
|
|
|
||
|
|
abstract class BaseModel {
|
||
|
|
BaseModel.fromJson(Map<String, dynamic> json);
|
||
|
|
Map<String, dynamic> toJson();
|
||
|
|
toEntity();
|
||
|
|
BaseModel.fromEntity(DeviceEntity entity);
|
||
|
|
}
|