InYears constructor
InYears()
Implementation
InYears()
: super(
methodName: "inYears",
targetType: .duration,
arity: 0,
function: (target, interpreter, arguments) {
return target.inDays / 365;
},
);