isBound static method

bool isBound(
  1. WidgetModel model,
  2. String? key
)

Returns true if the template references observable => key

Implementation

static bool isBound(WidgetModel model, String? key) {
  if ((model.framework == null) || (isNullOrEmpty(key))) return false;
  return model.framework!.bindables!.contains(key);
}