FlutterActivityRecognition class Null safety

A class that provides an activity recognition API.

Properties

activityStream Stream<Activity>
Gets the activity stream.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

checkPermission() Future<PermissionRequestResult>
Check whether activity recognition permission is granted.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
requestPermission() Future<PermissionRequestResult>
Request activity recognition permission.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FlutterActivityRecognition
Instance of FlutterActivityRecognition.
final