Execution.fromJson constructor

Execution.fromJson(
  1. Map json_
)

Implementation

Execution.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        evaluationId: json_.containsKey('evaluationId')
            ? json_['evaluationId'] as core.String
            : null,
        inventoryTime: json_.containsKey('inventoryTime')
            ? json_['inventoryTime'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        runType: json_.containsKey('runType')
            ? json_['runType'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );