hasConstructorArgumentValues method

bool hasConstructorArgumentValues()
inherited

Returns whether this pod definition contains any constructor argument values.

This is used to check if a pod is expected to be constructed with specific arguments during instantiation.

Example

if (podDef.hasConstructorArgumentValues()) {
  print("Pod requires constructor arguments.");
}

Implementation

bool hasConstructorArgumentValues() => !executableArgumentValues.isEmpty();