menu
flutter_activity_recognition package
documentation
models/activity.dart
Activity
toJson method
toJson method
dark_mode
light_mode
toJson
method
Map
<
String
,
dynamic
>
toJson
(
)
Implementation
Map<String, dynamic> toJson() { return { 'type': type.name, 'confidence': confidence.name, }; }
flutter_activity_recognition package
documentation
models/activity
Activity
toJson method
Activity class