AppInfoService class abstract
- Implementers
Constructors
Properties
- appName → String
-
the app's name
no setter
- buildNr → String
-
the app's build number
no setter
- fullVersion → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- packageName → String
-
the app's package name
no setter
- platform → RunPlatform
-
the current platform
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → String?
-
get the store the app was installed through. returns null if unknown.
no setter
- version → String
-
the app's version
no setter
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 Properties
- i → AppInfoService
-
no setter
- maybe → AppInfoService?
-
no setter
Static Methods
-
init(
[AppInfoService? s]) → Future< void> - provide a custom app info service. For basic console logging, use BasicAppInfoService.
-
maybeInit(
[AppInfoService? s]) → Future< void> -
initialize the app info service if it hasn't been initialized yet.
this does not throw an error if the initialization fails.
It should only be used with the
maybe
getter.