isValidSoftwareVersion static method
Returns true
if the given softwareVersion
conforms to the proper regex
pattern.
Regex pattern ^\d+\.\d+\.\d+$
Implementation
static bool isValidSoftwareVersion(String softwareVersion) =>
RegExp(r'^\d+\.\d+\.\d+$').hasMatch(softwareVersion);