String toHex({String prefix = '', bool lowerCase = true}) => useValue( (k) => BytesUtils.toHexString(k, prefix: prefix, lowerCase: lowerCase), );