convert method

  1. @override
BigInt? convert(
  1. String? input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
BigInt? convert(String? input) {
  if (input == null || input == '') {
    return null;
  }

  final decoded = base64RawUrl.decode(input);
  return decodeBigIntWithSign(1, decoded);
}