isNewerThan method
Compares this module's version with another module's version.
other - The other ModuleIdentity to compare with
Returns true if this module's version is newer than the other module's version.
Implementation
bool isNewerThan(ModuleIdentity other) {
if (other.groupId != groupId || other.artifactId != artifactId) {
return false; // Can't compare different modules
}
return compareVersions(version, other.version);
}