fromJSON static method

AuthInfo fromJSON(
  1. TxAuthInfo data
)

Implementation

static AuthInfo fromJSON(TxAuthInfo data) {
  return AuthInfo(
      data.signer_infos
          .map((e) => SignerInfo(
              e.public_key, e.sequence, ModeInfo.fromJSON(e.mode_info)))
          .toList(),
      Fee.fromJSON(data.fee));
}