toJson method

Map<String, dynamic> toJson()

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(),
    };