getLast method Null safety

BlockModel? getLast()

Gets the last commited block from the db.

Implementation

BlockModel? getLast() => _repository.getLast();