updateItem<Type extends DirectusData> method

  1. @override
Future<Type> updateItem<Type extends DirectusData>({
  1. required Type objectToUpdate,
  2. String? fields,
  3. bool force = false,
})
override

Implementation

@override
Future<Type> updateItem<Type extends DirectusData>(
    {required Type objectToUpdate, String? fields, bool force = false}) {
  addCalledFunction(named: "updateItem");
  addReceivedObject(objectToUpdate, name: "objectToUpdate");
  addReceivedObject(fields, name: "fields");
  return Future.value(popNextReturnedObject());
}