isBase32 property

bool get isBase32

Checks if the string is base32 encoded.

Base32 encoding uses a 32-character set (A-Z and 2-7) to represent binary data. Valid base32 strings may include padding with '=' characters.

Returns true if the string is valid base32 encoded, otherwise returns false.

Example:

'JBSWY3DPEHPK3PXP'.isBase32; // true
'hello world'.isBase32; // false

Implementation

bool get isBase32 {
  return _isBase32(this);
}