ResourceExtensions<T extends Resource> extension
- on
-
- T
Methods
-
withFieldResource<
T2 extends Resource> (FieldDefinition< T2> field, T2 resource, {required T constructor(JsonObject)}) → T -
Available on T, provided by the ResourceExtensions extension
Creates a clone of the resource with the provided field updated with another resource -
withFieldValue(
FieldDefinition field, JsonValue value, {required T constructor(JsonObject)}) → T -
Available on T, provided by the ResourceExtensions extension
Creates a clone of the resource with the provided field updated with another resource -
withNullField<
T2> (FieldDefinition< T2> field, {required T constructor(JsonObject)}) → UpdateResult<T> -
Available on T, provided by the ResourceExtensions extension
-
withUndefinedField<
T2> (FieldDefinition< T2> field, {required T constructor(JsonObject)}) → UpdateResult<T> -
Available on T, provided by the ResourceExtensions extension