Patch class

Update resource request

Annotations
  • @JsonSerializable()

Constructors

Patch({required PatchOperation op, required String path, dynamic value, String? from})
Patch.fromJson(Map<String, dynamic> json)
factory

Properties

from String?
The JSON Pointer to the target document location from which to move the value. Required for the move operation.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
op PatchOperation
The operation.
getter/setter pair
path String
The JSON Pointer to the target document location at which to complete the operation.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ dynamic
The value to apply. The remove operation does not require a value.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited