decodeFromBytes method

Currency decodeFromBytes(
  1. Uint8List bytes
)

Decode account number from given bytes

Implementation

Currency decodeFromBytes(Uint8List bytes) {
  String molinaStr = Int64.decodeFromBytes(bytes).toRadixString(10);
  return Currency.fromMolina(molinaStr);
}