getLastBlock method Null safety

BlockModel? getLastBlock()

Implementation

BlockModel? getLastBlock() => _blockService.getLast();