第二次提交
This commit is contained in:
8
lib/core/data/base_model.dart
Normal file
8
lib/core/data/base_model.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user