decode static method
Implementation
static Uint8List decode(String data, String expectedPrefix) {
if (!data.startsWith(expectedPrefix)) {
throw ArgumentError('Invalid PASERK format: expected $expectedPrefix');
}
final list = SafeBase64.decode(data.substring(expectedPrefix.length));
return Uint8List.fromList(list);
}