decode static method

Uint8List? decode(
  1. String string
)

Decodes a hexadecimal string back to binary data.

string is the hex-encoded string to decode.

Returns the decoded binary data, or null if decoding fails.

Implementation

static Uint8List? decode(String string) {
  return coder!.decode(string);
}