walkingLocationNotification method

  1. @override
Future<void> walkingLocationNotification(
  1. MoveNotification notification
)
override

Setup walking location notification

Implementation

@override
Future<void> walkingLocationNotification(
    MoveNotification notification) async {
  var map = {
    "channelId": notification.channelId,
    "channelName": notification.channelName,
    "channelDescription": notification.channelDescription,
    "contentTitle": notification.contentTitle,
    "contentText": notification.contentText,
    "imageName": notification.imageName,
  };
  await methodChannel.invokeMethod(
      'walkingLocationNotification', <String, dynamic>{'notification': map});
}