updateActivity method

  1. @override
Future updateActivity(
  1. String activityId,
  2. Map<String, dynamic> data, [
  3. AlertConfig? alertConfig
])
override

Implementation

@override
Future updateActivity(String activityId, Map<String, dynamic> data,
    [AlertConfig? alertConfig]) async {
  return methodChannel.invokeMethod('updateActivity', {
    'activityId': activityId,
    'data': data,
    'alertConfig': alertConfig?.toMap()
  });
}