scheduleEnd method
System-side scheduled dismissal: end now with dismissalPolicy: .after.
Implementation
@override
Future scheduleEnd(String activityId, DateTime at) async {
return methodChannel.invokeMethod('scheduleEnd', {
'activityId': activityId,
'endTimestamp': at.millisecondsSinceEpoch,
});
}