end method
Future<void>
end(
- String id, {
- required LiveUpdateOutcome outcome,
- String? title,
- String? subtitle,
- IosLiveActivityOptions? ios,
override
Ends an existing live update.
Implementation
@override
Future<void> end(
String id, {
required LiveUpdateOutcome outcome,
String? title,
String? subtitle,
IosLiveActivityOptions? ios,
}) {
return methodChannel.invokeMethod<void>('end', <String, Object?>{
'id': id,
'outcome': outcome.name,
'title': title,
'subtitle': subtitle,
'ios': ios?.toMap(),
});
}