startMoment method
void
startMoment(})
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
});
}