Reads and returns the version from the Android build.gradle file.
@returns {Map<String, String?>?} A map with 'versionName' and 'buildNumber',
or null if the file is not found/readable, or an empty map if parsing fails.
Reads and returns the version from the iOS Info.plist file.
@returns {Map<String, String?>?} A map with 'versionName' and 'buildNumber',
or null if the file is not found/readable, or an empty map if parsing fails.
Gets the version of the verman package itself by finding and reading its own pubspec.yaml.
This is useful for the verman version command.
@returns {Map<String, String?>?} A map with 'versionName' and 'buildNumber', or null if not found.
Initializes the info.plist file.
with the necessary key and value for versionName and buildNumber.
@returns {bool} True is the file was initialized, false otherwise.