SyncMutator

interface SyncMutator

Mutator is a functional object that you provide to modify entity data in a controlled manner.

Override mutate to perform your modifications. This method will be provided with the previous data contents and should return new desired contents or null to abort mutate operation.

Functions

Link copied to clipboard
abstract fun mutate(currentJsonData: String?): String?

Override this method to provide your own implementation of data mutator.