withFieldValue method
T
withFieldValue(
- FieldDefinition field,
- JsonValue value, {
- required T constructor(
- JsonObject
Creates a clone of the resource with the provided field updated with another resource
Implementation
T withFieldValue(
// ignore: strict_raw_type
FieldDefinition field,
JsonValue value, {
required T Function(JsonObject) constructor,
}) =>
constructor(json.withUpdate(field.name, value));