GoogleApiAvailability class
Flutter plugin to verify if Google Play Services are installed on the device.
Constructors
- GoogleApiAvailability.private()
-
const
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
-
checkGooglePlayServicesAvailability(
[bool showDialogIfNecessary = false]) → Future< GooglePlayServicesAvailability> -
This feature is only available on Android devices. On any other platforms
the
checkPlayServicesAvailability
method will always return GooglePlayServicesAvailability.notAvailableOnPlatform. -
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
Constants
- instance → const GoogleApiAvailability
- Acquires an instance of the GoogleApiAvailability class.