tripNotification method
Setup trip notification
Implementation
@override
Future<void> tripNotification(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('tripNotification', <String, dynamic>{
'notification': map,
});
}