update method Null safety

void update(
  1. Uint8List address,
  2. Uint8List lastBlock
)

Updates the XchainModel.lastBlock.

Implementation

void update(Uint8List address, Uint8List lastBlock) =>
    _repository.update(address, lastBlock);