CustomDataPatch class final

A custom-data update. A null value explicitly removes the corresponding key.

Constructors

CustomDataPatch([Map<String, Object?> changes = const {}])
CustomDataPatch.fromJson(Object? json)
factory

Properties

changes → Map<String, Object?>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeChange(String key) → CustomDataPatch
set(String key, Object value) → CustomDataPatch
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited
unset(String key) → CustomDataPatch

Operators

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