fromData static method

SignDoc fromData(
  1. SignDocDataArgs data
)

Implementation

static SignDoc fromData(SignDocDataArgs data) {
  return SignDoc(
      data.chain_Id!,
      double.parse(data.account_number!),
      double.parse(data.sequence!),
      AuthInfo.fromBytes(
          TerraStringExtension.getBytesFromBase64(data.auth_Info_Bytes!)));
}