VoidedPurchase.fromJson constructor
VoidedPurchase.fromJson(
- Map json_
Implementation
VoidedPurchase.fromJson(core.Map json_)
: this(
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
orderId: json_.containsKey('orderId')
? json_['orderId'] as core.String
: null,
purchaseTimeMillis: json_.containsKey('purchaseTimeMillis')
? json_['purchaseTimeMillis'] as core.String
: null,
purchaseToken: json_.containsKey('purchaseToken')
? json_['purchaseToken'] as core.String
: null,
voidedQuantity: json_.containsKey('voidedQuantity')
? json_['voidedQuantity'] as core.int
: null,
voidedReason: json_.containsKey('voidedReason')
? json_['voidedReason'] as core.int
: null,
voidedSource: json_.containsKey('voidedSource')
? json_['voidedSource'] as core.int
: null,
voidedTimeMillis: json_.containsKey('voidedTimeMillis')
? json_['voidedTimeMillis'] as core.String
: null,
);