toString method

  1. @override
String toString()
override

Gets the string representation of the version.

Implementation

@override
String toString()
{
    return "$major.$minor";
}