backConverter property
Gets or sets a converter function to apply to the GraphObject property value in order to produce the value to set to a data property. This conversion function is only used in a TwoWay binding, when transferring a value from the target to the source. The default value is null -- no conversion takes place. Otherwise the value should be a function that takes one or two arguments and returns the desired value. However, the return value is ignored when the #sourceProperty is the empty string.
Conversion functions must not have any side-effects other than setting the source property.
The function is passed the value from the target (the first argument), the source Panel#data object (the second argument), and the Model (the third argument). If the #sourceProperty is a property name, that property is set to the function's return value. If the #sourceProperty is the empty string, the function should modify the second argument, which will be the source data object.
Implementation
_i3.BackConversion get backConverter => (
_i3.Model p2, [
_i2.dynamic p0,
_i2.dynamic p1,
]) =>
_i4.callMethod(
_i4.getProperty(
this,
'backConverter',
),
r'call',
[
this,
p0,
p1,
p2,
],
);
Implementation
set backConverter(_i3.BackConversion value) {
_i4.setProperty(
this,
'backConverter',
value == null ? _i5.undefined : _i4.allowInterop(value),
);
}