toJson method

Map<String, dynamic> toJson()

Implementation

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