CockpitRecorderFileExportGateway class final
Default gateway writing the bundle's CockpitRecordedFlowBundle.caseYaml
to <directory>/<caseId>.yaml with dart:io.
The directory comes from directoryResolver; the default is the system
temp directory, which needs no permissions and no path_provider
dependency. Hosts that want a durable location inject a resolver for
their own directory.
- Implemented types
Constructors
- CockpitRecorderFileExportGateway({String directoryResolver()?})
-
Creates a file-writing gateway over
directoryResolver.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
persist(
CockpitRecordedFlowBundle bundle) → Future< String> -
Persists
bundleand returns the location or message to surface.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited