Block.fromHex constructor

Block.fromHex(
  1. String hexString
)

Parse block from hex string

Implementation

factory Block.fromHex(String hexString) {
  return Block.fromBuffer(Uint8List.fromList(hex.decode(hexString)));
}