fetchOne abstract method Null safety

Future<InstanceType?> fetchOne()

Fetches a single InstanceType from the database.

This method behaves the same as fetch, but limits the results to a single object.

Implementation

Future<InstanceType?> fetchOne();