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