-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathmapper_inheritance.mapper.g.dart
More file actions
43 lines (37 loc) · 1.04 KB
/
mapper_inheritance.mapper.g.dart
File metadata and controls
43 lines (37 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'mapper_inheritance.dart';
// **************************************************************************
// MapperGenerator
// **************************************************************************
class UserLoginContractFromEntityMapperImpl
extends UserLoginContractFromEntityMapper {
UserLoginContractFromEntityMapperImpl() : super();
@override
UserLoginContract? fromEntity(UserLoginEntity? entity) {
if (entity == null) {
return null;
}
;
final userlogincontract = UserLoginContract(
entity.age,
entity.id,
);
return userlogincontract;
}
}
class UserLoginContractFromEntityMapper2Impl
extends UserLoginContractFromEntityMapper2 {
UserLoginContractFromEntityMapper2Impl() : super();
@override
UserLoginContract2? fromEntity(UserLoginEntity? entity) {
if (entity == null) {
return null;
}
;
final userlogincontract2 = UserLoginContract2(
entity.age,
entity.id,
);
return userlogincontract2;
}
}