fromArguments static method

SendCryptoPayload fromArguments(
  1. dynamic arguments
)

Implementation

static SendCryptoPayload fromArguments(dynamic arguments) {
  SendCryptoPayload payload = SendCryptoPayload();
  payload.address = arguments["address"];
  payload.amount = arguments["amount"];
  payload.assetInfo =
      SendCryptoAssetInfo.fromArguments(arguments["assetInfo"]);
  return payload;
}