HexInput typedef

HexInput = Object

A hex input, which can be a hex String (with or without the 0x prefix) or a Uint8List of raw bytes.

Dart has no union types, so this is an alias of Object; values of any other type are rejected at runtime by Hex.fromHexInput and friends.

Implementation

typedef HexInput = Object;