toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (consumedParallelism != null)
'consumedParallelism': consumedParallelism!.toJson(),
if (fractionConsumed != null) 'fractionConsumed': fractionConsumed!,
if (position != null) 'position': position!.toJson(),
if (remainingParallelism != null)
'remainingParallelism': remainingParallelism!.toJson(),
};