toStr method

String toStr()

Returns the string representation of the path element, including the appropriate prefix

Implementation

String toStr() {
  final prefix = isHard
      ? SubstratePathConst.hardPathPrefix
      : SubstratePathConst.softPathPrefix;
  return "$prefix$elem";
}