discontinuedPackage chart_xutil has been discontinued.

diffYear method

int diffYear(
  1. DateTime d
)

Implementation

int diffYear(DateTime d) {
  return (d.year - year).abs();
}