endMoment method

  1. @override
void endMoment(
  1. String name,
  2. String? identifier,
  3. Map<String, String>? properties
)
override

End a moment with the provided name and optional identifier.

Implementation

@override
void endMoment(
  String name,
  String? identifier,
  Map<String, String>? properties,
) {
  throwIfNotStarted();
  methodChannel.invokeMethod(_endMomentMethodName, {
    _nameArgName: name,
    _identifierArgName: identifier,
    _propertiesArgName: properties
  });
}