DeviceDescriptor class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getAdvertisingId(
) → Future< String> -
getDeviceFreeMemory(
) → Future< String> - TODO: Restore in the future, requires either ripping just relevant code from Connectivity plugin (preferred solution) or by asking publishers to add two properties, describing usage of location, to their info.plist: 'NSLocationAlwaysAndWhenInUseUsageDescription' & 'NSLocationWhenInUseUsageDescription'. Source: https://pub.dev/packages/connectivity Source: https://pub.dev/packages/system_info
-
getDeviceModel(
) → Future< String> -
getDeviceOS(
) → Future< String> -
getDeviceSystemVersion(
) → Future< String> - Uses plugin "device_info" Source: https://stackoverflow.com/questions/45300661/how-to-check-the-device-os-version-from-flutter
-
getLanguageJson(
) → Future - Language data isn't identical between what's currently available on Flutter and native Android/iOS. Agreed with product and team leader, at the moment, to provide what is possible and try and classify as closely as possible to Android/iOS values.
-
getScreenSize(
) → Size