get static method
Returns the system information for the current device.
Implementation
static Future<SystemInfo> get() async {
final osInfo = await _getOsInfo();
final packageInfo = await PackageInfo.fromPlatform();
return SystemInfo._(
osName: osInfo.name,
osVersion: osInfo.version,
locale: Platform.localeName,
buildNumber: packageInfo.buildNumber,
appVersion: packageInfo.version,
);
}