Hex string conversion in dart