Source class
A source that records can be read and decoded from.
Constructors
Properties
-
baseSpecs
↔ List<
Map< ?String, Object?> > -
While splitting, sources may specify the produced bundles as differences
against another source, in order to save backend-side memory and allow
bigger jobs.
getter/setter pair
-
codec
↔ Map<
String, Object?> ? -
The codec to use to decode data read from the source.
getter/setter pair
- doesNotNeedSplitting ↔ bool?
-
Setting this value to true hints to the framework that the source doesn't
need splitting, and using SourceSplitRequest on it would yield
SOURCE_SPLIT_OUTCOME_USE_CURRENT.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata ↔ SourceMetadata?
-
Optionally, metadata for this source can be supplied right away, avoiding
a SourceGetMetadataOperation roundtrip (see SourceOperationRequest).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spec
↔ Map<
String, Object?> ? -
The source to read from, plus its parameters.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited