modelEquality method

bool modelEquality(
  1. Model previousModel,
  2. Model nextModel
)

Defines the function to use to compare models to prevent unnecessary updates.

Implementation

bool modelEquality(Model previousModel, Model nextModel) =>
    identical(previousModel, nextModel);