PaymentChannelCreate.fromJson constructor

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

Implementation

PaymentChannelCreate.fromJson(Map<String, dynamic> json)
    : amount = parseBigInt(json["amount"])!,
      cancelAfter = json["cancel_after"],
      destination = json["destination"],
      destinationTag = json["destination_tag"],
      publicKey = json["public_key"],
      settleDelay = json["settle_delay"],
      super.json(json);