newInstance method

  1. @override
DateRange newInstance()
override

Creates a new instance of DateRange.

This method is used internally by the Range class to create new instances of the same type.

Implementation

@override
DateRange newInstance() => DateRange._();