PaymentResult.fromJson constructor

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

Parse from a json

Implementation

factory PaymentResult.fromJson(Map<String, dynamic> json) => PaymentResult(
  success: json['success'],
  verificationUrl: json['verification_url'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);