insertOrUpdate method
Implementation
@override
Future<TEntity?> insertOrUpdate(
TEntity item, {
final bool? useIsolate,
}) async {
final result = await insertOrUpdateList([item], useIsolate: useIsolate);
if (result?.isNotEmpty == true) {
return result?.first;
}
return null;
}