QueryTimelineSample.fromJson constructor

QueryTimelineSample.fromJson(
  1. Map json_
)

Implementation

QueryTimelineSample.fromJson(core.Map json_)
    : this(
        activeUnits: json_.containsKey('activeUnits')
            ? json_['activeUnits'] as core.String
            : null,
        completedUnits: json_.containsKey('completedUnits')
            ? json_['completedUnits'] as core.String
            : null,
        elapsedMs: json_.containsKey('elapsedMs')
            ? json_['elapsedMs'] as core.String
            : null,
        estimatedRunnableUnits: json_.containsKey('estimatedRunnableUnits')
            ? json_['estimatedRunnableUnits'] as core.String
            : null,
        pendingUnits: json_.containsKey('pendingUnits')
            ? json_['pendingUnits'] as core.String
            : null,
        totalSlotMs: json_.containsKey('totalSlotMs')
            ? json_['totalSlotMs'] as core.String
            : null,
      );