Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
54 views1 page

SK Payment Queue Wrapper.g.dart

This document contains code for converting SKError and SKPaymentWrapper objects to and from JSON format. It defines _$SKErrorFromJson and _$SKErrorToJson functions to serialize and deserialize SKError objects. Similarly it defines _$SKPaymentWrapperFromJson and _$SKPaymentWrapperToJson functions to serialize and deserialize SKPaymentWrapper objects.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views1 page

SK Payment Queue Wrapper.g.dart

This document contains code for converting SKError and SKPaymentWrapper objects to and from JSON format. It defines _$SKErrorFromJson and _$SKErrorToJson functions to serialize and deserialize SKError objects. Similarly it defines _$SKPaymentWrapperFromJson and _$SKPaymentWrapperToJson functions to serialize and deserialize SKPaymentWrapper objects.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'sk_payment_queue_wrapper.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

SKError _$SKErrorFromJson(Map json) {


return SKError(
code: json['code'] as int,
domain: json['domain'] as String,
userInfo: (json['userInfo'] as Map)?.map(
(k, e) => MapEntry(k as String, e),
),
);
}

Map<String, dynamic> _$SKErrorToJson(SKError instance) => <String, dynamic>{


'code': instance.code,
'domain': instance.domain,
'userInfo': instance.userInfo,
};

SKPaymentWrapper _$SKPaymentWrapperFromJson(Map json) {


return SKPaymentWrapper(
productIdentifier: json['productIdentifier'] as String,
applicationUsername: json['applicationUsername'] as String,
requestData: json['requestData'] as String,
quantity: json['quantity'] as int,
simulatesAskToBuyInSandbox: json['simulatesAskToBuyInSandbox'] as bool,
);
}

Map<String, dynamic> _$SKPaymentWrapperToJson(SKPaymentWrapper instance) =>


<String, dynamic>{
'productIdentifier': instance.productIdentifier,
'applicationUsername': instance.applicationUsername,
'requestData': instance.requestData,
'quantity': instance.quantity,
'simulatesAskToBuyInSandbox': instance.simulatesAskToBuyInSandbox,
};

You might also like