DiscountOfferInputIOS.fromJson constructor

DiscountOfferInputIOS.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DiscountOfferInputIOS.fromJson(Map<String, dynamic> json) {
  return DiscountOfferInputIOS(
    identifier: json['identifier'] as String,
    keyIdentifier: json['keyIdentifier'] as String,
    nonce: json['nonce'] as String,
    signature: json['signature'] as String,
    timestamp: (json['timestamp'] as num).toDouble(),
  );
}