succeedFeatureOperation method
void
succeedFeatureOperation(})
Finishes a feature operation with the given name with a successful
status.
If you provided an operationKey to startFeatureOperation, the same
operationKey should be provided here.
Additional custom attributes such as additional result data, can be
attached to this feature operation through attributes.
Implementation
void succeedFeatureOperation(
String name, {
String? operationKey,
Map<String, Object?> attributes = const {},
}) {
wrap('rum.succeedFeatureOperation', logger, attributes, () {
final currentTime = timeProvider.now();
return _platform.succeedFeatureOperation(
currentTime, name, operationKey, attributes);
});
}