save method
Saves the given value
to the database using an upsert operation.
Implementation
@override
Future<T> save(T value) {
var intermediate = analysis.encode(value);
_data[intermediate.id!] = intermediate.native;
return Future.value(analysis.decode(intermediate));
}