y property

num Function(T, [List<Object?>?]) get y

Implementation

num Function(T, [List<Object?>?]) get y => _y;
set y (num y(T, [List<Object?>?]))

The y-accessor.

final link = Link.horizontal(…)..y = (d, [args]) => y(d["y"]);

link.y; // (d, [args]) => y(d["y"])

The x accessor defaults to:

y(d, [args]) {
  return d[1];
}

Implementation

set y(num Function(T, [List<Object?>?]) y) => _y = y;