PatchJobInstanceDetails.fromJson constructor

PatchJobInstanceDetails.fromJson(
  1. Map json_
)

Implementation

PatchJobInstanceDetails.fromJson(core.Map json_)
    : this(
        attemptCount: json_.containsKey('attemptCount')
            ? json_['attemptCount'] as core.String
            : null,
        failureReason: json_.containsKey('failureReason')
            ? json_['failureReason'] as core.String
            : null,
        instanceSystemId: json_.containsKey('instanceSystemId')
            ? json_['instanceSystemId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );