getBlock method

Future<String> getBlock({
  1. required String id,
})

Get transport block by id and return base64 encoded block or throw error

Implementation

Future<String> getBlock({required String id}) {
  if (_disposed) throw TransportCallAfterDisposeError();

  return transport.getBlock(id: id);
}