withUndefinedField<T2> method
UpdateResult<T>
withUndefinedField<T2>(
- FieldDefinition<
T2> field, { - required T constructor(
- JsonObject
Implementation
UpdateResult<T> withUndefinedField<T2>(
FieldDefinition<T2> field, {
required T Function(JsonObject) constructor,
}) =>
UpdateSuccess(
constructor(json.withUpdate(field.name, const Undefined())),
);