of

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

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