You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
289 B
13 lines
289 B
import 'package:hadi_hoda_flutter/features/sample/domain/entity/sample_entity.dart';
|
|
|
|
class SampleModel extends SampleEntity {
|
|
const SampleModel({
|
|
super.id,
|
|
});
|
|
|
|
factory SampleModel.fromJson(Map<String, dynamic> json) {
|
|
return SampleModel(
|
|
id: json['id'],
|
|
);
|
|
}
|
|
}
|