SystemInfo class
SystemInfo is information about the system.
Constructors
- SystemInfo({required String manufacture, required String model, required String brand, required String android, required String apiLevel, required String codeName, required String density, required String refreshRate, required String product, required String board, required String build, required String javaVmVersion, required String security, required String baseband, required String serial, required String buildType, required String tags, required String incremental, required String fingerprint, required String fingerprintManufacture, required String fingerprintModel, required String defaultOrientation, required String bootloader, required String selinux})
- constructor of SystemInfo
- SystemInfo.fromJson(String source)
-
fromJson returns a SystemInfo object from a json object.
factory
-
SystemInfo.fromMap(Map<
String, dynamic> map) -
fromMap returns a SystemInfo object from a map.
factory
Properties
- android ↔ String
-
android is the version of android of the device. i.e. android 8.1.0.
getter/setter pair
- apiLevel ↔ String
-
apiLevel is the api level of android of the device. i.e. api level 28.
getter/setter pair
- baseband ↔ String
-
baseband is the baseband version of the device.
Build.getRadioVersion()e.g. Q_G964_V10.0.0.0.getter/setter pair - board ↔ String
-
board is the board name of the device. i.e. samsung_msm8996.
getter/setter pair
- bootloader ↔ String
-
bootloader is the bootloader version of the device. i.e. G964V10.0.0.0.
getter/setter pair
- brand ↔ String
-
brand is the name of brand of the device.
getter/setter pair
- build ↔ String
-
build is the build number of the device. refers to
android.os.Build.IDe.g. LMY48G.getter/setter pair - buildType ↔ String
-
buildType is the build type of the device. i.e. release, debug,user etc.
getter/setter pair
- codeName ↔ String
-
codeName is the code name of android of the device. i.e. lollipop, marshmallow, etc.
getter/setter pair
- defaultOrientation ↔ String
-
defaultOrientation is the default Orientation of the device. i.e. portrait.
getter/setter pair
- density ↔ String
-
density is the density of the device. i.e. 330.
getter/setter pair
- fingerprint ↔ String
-
fingerprint is the fingerprint of the device. i.e. google/pixel3/google:6.0.1/NRD90M/4.4.2:user/release-keys.
getter/setter pair
- fingerprintManufacture ↔ String
-
fingerprintManufacture is the name of finger print manufacturer of the device. i.e. Goodix.
getter/setter pair
- fingerprintModel ↔ String
-
fingerprintModel is the name of finger print model of the device. i.e. FP.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- incremental ↔ String
-
incremental is the incremental build number of the device. i.e. 12345.
getter/setter pair
- javaVmVersion ↔ String
-
javaVmVersion is the java version of the device.Refers to
System.getProperty("java.vm.version")e.g.2.1.0getter/setter pair - manufacture ↔ String
-
manufacture is the name of manufacturer of the device.
getter/setter pair
- model ↔ String
-
model is the name of model of the device.
getter/setter pair
- product ↔ String
-
product is the product name of the device. i.e. Google Pixel 3.
getter/setter pair
- refreshRate ↔ String
-
refreshRate is the refresh rate of the device. i.e. 60,90,120.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- security ↔ String
-
security is the security patch level of the device. i.e. 2018-05-01.
getter/setter pair
- selinux ↔ String
-
selinux is the selinux status of the device. i.e. enforcing.
getter/setter pair
- serial ↔ String
-
serial is the serial number of the device.
Build.getSerial().e.g. A0YKZBJYXK.getter/setter pair -
tags describing the build, like "unsigned,debug".
getter/setter pair
Methods
-
copyWith(
{String? manufacture, String? model, String? brand, String? android, String? apiLevel, String? codeName, String? density, String? refreshRate, String? product, String? board, String? build, String? javaVmVersion, String? security, String? baseband, String? serial, String? buildType, String? tags, String? incremental, String? fingerprint, String? fingerprintManufacture, String? fingerprintModel, String? defaultOrientation, String? bootloader, String? selinux}) → SystemInfo - copyWith is used to copy the SystemInfo object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - toJson returns a json object of the object.
-
toMap(
) → Map< String, dynamic> - toMap returns a map of the object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override