AndroidBuildVersion class

Version values of the current Android operating system build derived from android.os.Build.VERSION.

See: https://developer.android.com/reference/android/os/Build.VERSION.html

Mixed-in types

Constructors

AndroidBuildVersion({String? baseOS, required String codename, required String incremental, required int? previewSdkInt, required String release, required int sdkInt, String? securityPatch})
const

Properties

baseOS String?
The base OS build the product is based on. Available only on Android M (API 23) and newer
final
codename String
The current development codename, or the string "REL" if this is a release build.
final
hashCode int
The hash code for this object.
no setteroverride
incremental String
The internal value used by the underlying source control to represent this build. Available only on Android M (API 23) and newer
final
previewSdkInt int?
The developer preview revision of a pre-release SDK.
final
release String
The user-visible version string.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkInt int
The user-visible SDK version of the framework.
final
securityPatch String?
The user-visible security patch level. Available only on Android M (API 23) and newer
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override