update method

Future<void> update(
  1. UpdateOptions options
)

Updates existing data.

If the update target does not exist, a new entry of data will be inserted.

Implementation

Future<void> update(
  UpdateOptions options,
) async {
  await _channel.invokeMethod<void>(
    'update',
    options.toMap(),
  );
}