hasPropertyValues method

bool hasPropertyValues()
inherited

Returns whether this pod definition contains any property values.

Property values represent setter-based injection or field initialization for the pod after it is constructed.

Example

if (podDef.hasPropertyValues()) {
  print("Pod has property values to apply.");
}

Implementation

bool hasPropertyValues() => propertyValues.isNotEmpty;