Customer Point
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'customer_dtos.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
_$CustomerPointDtoImpl _$$CustomerPointDtoImplFromJson(
|
||||
Map<String, dynamic> json,
|
||||
) => _$CustomerPointDtoImpl(
|
||||
status: json['status'] as String?,
|
||||
message: json['message'] as String?,
|
||||
data: json['data'] == null
|
||||
? null
|
||||
: CustomerPointDataDto.fromJson(json['data'] as Map<String, dynamic>),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$$CustomerPointDtoImplToJson(
|
||||
_$CustomerPointDtoImpl instance,
|
||||
) => <String, dynamic>{
|
||||
'status': instance.status,
|
||||
'message': instance.message,
|
||||
'data': instance.data,
|
||||
};
|
||||
|
||||
_$CustomerPointDataDtoImpl _$$CustomerPointDataDtoImplFromJson(
|
||||
Map<String, dynamic> json,
|
||||
) => _$CustomerPointDataDtoImpl(
|
||||
totalPoints: (json['total_points'] as num?)?.toInt(),
|
||||
lastUpdated: json['last_updated'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$$CustomerPointDataDtoImplToJson(
|
||||
_$CustomerPointDataDtoImpl instance,
|
||||
) => <String, dynamic>{
|
||||
'total_points': instance.totalPoints,
|
||||
'last_updated': instance.lastUpdated,
|
||||
};
|
||||
Reference in New Issue
Block a user