ApproximateSplitRequest class

A suggestion by the service to the worker to dynamically split the WorkItem.

Constructors

ApproximateSplitRequest({double? fractionConsumed, double? fractionOfRemainder, Position? position})
ApproximateSplitRequest.fromJson(Map json_)

Properties

fractionConsumed double?
A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of the input).
getter/setter pair
fractionOfRemainder double?
The fraction of the remainder of work to split the work item at, from 0.0 (split at the current position) to 1.0 (end of the input).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
position Position?
A Position at which to split the work item.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited