version static method

String version({
  1. @Deprecated('No longer used.') bool quiet = false,
})

Implementation

static String version({@Deprecated('No longer used.') bool quiet = false}) {
  return Platform.version.substring(0, Platform.version.indexOf(' '));
}