update method
Updates the current instance with new data.
Implementation
@override
Future<bool> update({
required Map<String, dynamic> withJson,
DatabaseDisk? disk,
}) async => await Model.updateInstance<T>(
instance: this as T,
withJson: withJson,
disk: disk ?? this.disk,
);