Binding constructor

Binding(
  1. String key,
  2. BindableBase source,
  3. PropertyInfo sourceProperty,
  4. {BindingDirection bindingDirection,
  5. ValueConverter valueConverter}
)

Implementation

Binding(String key, BindableBase source, PropertyInfo sourceProperty,
    {BindingDirection bindingDirection,
    fmvvm_interfaces.ValueConverter valueConverter}) {
  this.source = source;
  _sourceProperty = sourceProperty;

  _bindingDirection = bindingDirection ?? BindingDirection.TwoWay;
  _valueConverter = valueConverter;
  _key = key;
}