MethodChannelFlutterGenericLocation class
An implementation of FlutterGenericLocationPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterGenericLocationPlatform
- MethodChannelFlutterGenericLocation
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- locationEventChannel → EventChannel
-
final
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLastLocation(
) → Future< Map< String, dynamic> > -
override
-
getLocation(
) → Future< Map< String, dynamic> > -
override
-
getLocationStream(
) → Stream< Map< String, dynamic> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showNotification(
String title, String message, String channelId, Uint8List imageBytes) → Future< Map< String, dynamic> > -
override
-
startLocationService(
) → Future< Map< String, dynamic> > -
override
-
startLocationUpdates(
) → Future< Map< String, dynamic> > -
override
-
stopLocationService(
) → Future< Map< String, dynamic> > -
override
-
stopLocationUpdates(
) → Future< Map< String, dynamic> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited