JobStatus.fromJson constructor

JobStatus.fromJson(
  1. Map json_
)

Implementation

JobStatus.fromJson(core.Map json_)
    : this(
        details: json_.containsKey('details')
            ? json_['details'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stateStartTime: json_.containsKey('stateStartTime')
            ? json_['stateStartTime'] as core.String
            : null,
        substate: json_.containsKey('substate')
            ? json_['substate'] as core.String
            : null,
      );