GoogleCloudDatalabelingV1beta1Attempt.fromJson constructor

GoogleCloudDatalabelingV1beta1Attempt.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1Attempt.fromJson(core.Map _json)
    : this(
        attemptTime: _json.containsKey('attemptTime')
            ? _json['attemptTime'] as core.String
            : null,
        partialFailures: _json.containsKey('partialFailures')
            ? (_json['partialFailures'] as core.List)
                .map((value) => GoogleRpcStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );