getProperty method

QUserProperty? getProperty(
  1. String key
)

Searches for a property with the given property key in all properties list.

Implementation

QUserProperty? getProperty(String key) {
  return properties.firstWhereOrNull((userProperty) => userProperty.key == key);
}