JsonPatchOperation class

Implemented types

Constructors

JsonPatchOperation.add(String path, dynamic value)
factory
JsonPatchOperation.copy(String from, String path)
factory
JsonPatchOperation.inner([void updates(JsonPatchOperationBuilder)])
factory
JsonPatchOperation.move(String from, String path)
factory
JsonPatchOperation.remove(String path)
factory
JsonPatchOperation.replace(String path, dynamic value)
factory
JsonPatchOperation.test(String path, dynamic value)
factory

Properties

from String
@nullableread-only
hashCode int
The hash code for this object.
read-onlyinherited
isAdd bool
@memoizedread-only
isCopy bool
@memoizedread-only
isMove bool
@memoizedread-only
isRemove bool
@memoizedread-only
isReplace bool
@memoizedread-only
isTest bool
@memoizedread-only
op JsonPatchOp
read-only
path String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value JsonObject
@nullableread-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
rebuild(dynamic updates(JsonPatchOperationBuilder)) JsonPatchOperation
Rebuilds the instance.
inherited
toBuilder() JsonPatchOperationBuilder
Converts the instance to a builder B.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer Serializer<JsonPatchOperation>
read-only

Static Methods

fromJson(Map<String, dynamic> json) JsonPatchOperation