List<int> create_base58_map() { var base58M = List.filled(256, -1); for (var i = 0; i < base58Chars.length; ++i) { base58M[base58Chars.codeUnitAt(i)] = i; } return base58M; }