PurchaseOfferingResult.fromJson constructor

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

Implementation

factory PurchaseOfferingResult.fromJson(Map<String, dynamic> json) {
  return PurchaseOfferingResult(
    offeringTransaction: json['offeringTransaction'] != null
        ? OfferingTransaction.fromJson(
            json['offeringTransaction'] as Map<String, dynamic>)
        : null,
  );
}