Creates a Range object based on from and to values
Range(this.from, this.to) { if (from.isEmpty) { throw ArgumentError.notNull('from'); } if (to.isEmpty) { throw ArgumentError.notNull('to'); } }