encodeWithBaseName method

String encodeWithBaseName(
  1. String baseName
)

Encodes the CID using the base identified by baseName.

Implementation

String encodeWithBaseName(String baseName) {
  final base = _multibaseFromName(baseName);
  return encodeWithBase(base);
}