operator + method

Jalali operator + (
  1. int days
)

add days this Method is safe

throws on null argument

non-null

Implementation

Jalali operator +(int days) {
  ArgumentError.checkNotNull(days, 'days');

  return addDays(days);
}