from

fun from(old: User?, new: User): UserDelta?

Given an old and new User object, return a UserDelta representing the changes between them.

Parameters

old

The older User object.

new

The newer User object.