toString method

  1. @override
String toString()
override

Get non-canonical string representation of this PackageVersionNumberGeneralLibrary.

If created with PackageVersionNumberGeneralLibrary.parse, the string from which the version was parsed is returned. Unlike the canonicalizedPackageVersionNumberGeneralLibrary this preserves artifacts such as leading zeros.

Implementation

@override
String toString() => _text;