UWalletPurchaseParams.fromMap constructor

UWalletPurchaseParams.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory UWalletPurchaseParams.fromMap(Map<String, dynamic> json) => UWalletPurchaseParams(
  tag: json["tag"],
  amount: json["amount"]?.toDouble(),
  keyValues: json["keyValues"] == null ? null : List<UKeyValueData>.from(json["keyValues"]!.map((dynamic x) => UKeyValueData.fromMap(x))),
);