getChangedFields method
Returns an immutable Map containing the values for each field changed with the last server update.
The related field name is used as key for the values in the map. Note that if the Subscription mode of the involved Subscription is COMMAND, then changed fields are meant as relative to the previous update for the same key. On such tables if a DELETE command is received, all the fields, excluding the key field, will be present as changed, with null value. All of this is also true on tables that have the two-level behavior enabled, but in case of DELETE commands second-level fields will not be iterated.
Throws IllegalStateException if the Subscription was initialized using a field schema.
Returns An immutable Map containing the values for each field changed with the last server update.
Implementation
Map<String,String?> getChangedFields() {
return {..._changedFields};
}