parse static method

Eip2333Path parse(
  1. String path
)

Implementation

static Eip2333Path parse(String path) {
  if (path.endsWith('/')) {
    path = path.substring(0, path.length - 1);
  }
  return _parseElements(path.split('/').where((e) => e.isNotEmpty).toList());
}