fetchByLocate method
Fetch instances belonging to a locate.
Implementation
@override
TaskEither<DomainFailure, List<Instance>> fetchByLocate({
required String locateId,
}) => TaskEither.of(
table.all().where((instance) => instance.locateId == locateId).toList(),
);