update method

  1. @override
Future<bool> update({
  1. DatabaseDisk? disk,
})
override

Updates the current instance with new data.

Implementation

@override
Future<bool> update({DatabaseDisk? disk}) async => await Model.updateInstance<Session>(instance: this, disk: disk ?? this.disk, withJson: toMetaJson());