operator + method

  1. @override
Jalali operator +(
  1. int days
)
override

add days this Method is safe

throws on null argument

non-null

Implementation

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

  return addDays(days);
}