toString method Null safety

  1. @override
String toString()
override

Get non-canonical string representation of this Version.

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

Implementation

@override
String toString() => _text;