# VersionRange constructor

const VersionRange({

1. Version? start,
2. Version? end,

})

Represents a simple semantic version range in Jetleaf.

A Range defines an inclusive start version and an exclusive end version. It is used by the framework to determine whether a certain version (for example, Dart SDK version) satisfies a condition.

### Usage Example:

    final range = Range(
      start: Version(3, 0, 0),
      end: Version(4, 0, 0),
    );

    print(range.contains(Version(3, 2, 1))); // true
    print(range.contains(Version(4, 0, 0))); // false

Both `start` and `end` are optional. If `start` is null, the range has no lower bound. If `end` is null, the range has no upper bound.

## Implementation

    const VersionRange({this.start, this.end});