hexEncodeText static method

String hexEncodeText(
  1. String text
)

Text → hex. hexEncodeText("hi") → "6869"

Implementation

static String hexEncodeText(String text) => _toHex(utf8.encode(text));