Aidra Driver
1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
cancellation_reason_isar_model.dart
Go to the documentation of this file.
1
import
'package:isar/isar.dart';
2
import
'../../../../features/collections/data/models/res/res_cancelation_reason_model.dart';
3
4
part
'cancellation_reason_isar_model.g.dart'
;
5
6
@
collection
7
class
CancellationReasonIsarModel
{
8
@
Index
(
type
: IndexType.value)
9
Id?
id
;
10
11
String
?
name
;
12
13
static
CancellationReasonIsarModel
fromModel
(ResCancelationReasonModel model) {
14
return
CancellationReasonIsarModel
()
15
..
id
= model.id
16
..
name
= model.name;
17
}
18
19
ResCancelationReasonModel
toModel
() {
20
return
ResCancelationReasonModel(
21
id
:
id
,
22
name
:
name
,
23
);
24
}
25
}
CancellationReasonIsarModel
Definition
cancellation_reason_isar_model.dart:7
CancellationReasonIsarModel::toModel
ResCancelationReasonModel toModel()
Definition
cancellation_reason_isar_model.dart:19
CancellationReasonIsarModel::fromModel
static CancellationReasonIsarModel fromModel(ResCancelationReasonModel model)
Definition
cancellation_reason_isar_model.dart:13
CancellationReasonIsarModel::Index
Index(type:IndexType.value) Id? id
CancellationReasonIsarModel::name
String name
Definition
cancellation_reason_isar_model.dart:11
id
final int id
Definition
collection_voucher_document_model.dart:42
type
final String type
Definition
collections_event.dart:13
String
class Partner String
collection
class SearchWeeklyCollectionsEvent extends WeeklyCollectionsEvent collection
lib
core
isar
models
collections
cancellation_reason_isar_model.dart
Generated by
1.16.1