PaymentOption.fromJson constructor

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

Parse from a json

Implementation

factory PaymentOption.fromJson(Map<String, dynamic> json) => PaymentOption(
      title: json['title'],
      url: json['url'],
    );