startMoment method

  1. @override
void startMoment(
  1. String name,
  2. String? identifier,
  3. Map<String, String>? properties, {
  4. required bool allowScreenshot,
})
override

Start a moment with the provided name and optional identifier.

Implementation

@override
void startMoment(
  String name,
  String? identifier,
  Map<String, String>? properties, {
  required bool allowScreenshot,
}) {
  throwIfNotStarted();
  methodChannel.invokeMethod(_startMomentMethodName, {
    _nameArgName: name,
    _identifierArgName: identifier,
    _allowScreenshotArgName: allowScreenshot,
    _propertiesArgName: properties
  });
}