of

public static ValueMismatch of(float expected, float actual, float newValue, int version)

Creates a new instance of ValueMismatch with the passed values for a float attribute.