newInstance method

  1. @override
DateTimeRange newInstance()
override

Creates a new empty instance of the range.

This method is used internally for operations that require creating a new range instance. Returns a new empty DateTimeRange instance.

Implementation

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