fromData static method

AuthInfo fromData(
  1. AuthInfoDataArgs data
)

Implementation

static AuthInfo fromData(AuthInfoDataArgs data) {
  if (data.signer_infos != null) {
    return AuthInfo(
        data.signer_infos!.map((w) => SignerInfo.fromData(w)).toList(),
        Fee.fromData(data.fee!));
  }

  return AuthInfo(null, Fee.fromData(data.fee!));
}