permissionId method

int? permissionId()

Implementation

int? permissionId() {
  if (contract.isEmpty) {
    throw const TronPluginException("Transaction contains no contract.");
  }
  return contract[0].permissionId;
}