by<T> static method

DrivenProperty<T> by<T>(
  1. DrivenPropertyResolver<T> callback
)

Convenience method for creating a DrivenProperty from a DrivenPropertyResolver function alone.

Implementation

static DrivenProperty<T> by<T>(DrivenPropertyResolver<T> callback) {
  return _DrivenProperty<T>(callback);
}