retrieveSingle abstract method
Retrieves a single item, typically using an ID or a unique filter.
query: Must contain necessary identifying fields likeid. Example:retrieveSingle(query: {'id': 42})
Returns a Future that resolves with the retrieved data.
Implementation
Future<dynamic> retrieveSingle({Map query = const {}});