canUpdate static method

bool canUpdate(
  1. InputFeature oldFeature,
  2. InputFeature newFeature
)

Implementation

static bool canUpdate(InputFeature oldFeature, InputFeature newFeature) {
  return oldFeature.runtimeType == newFeature.runtimeType;
}