EnterpriseCrmEventbusProtoTaskExecutionDetails.fromJson constructor

EnterpriseCrmEventbusProtoTaskExecutionDetails.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoTaskExecutionDetails.fromJson(core.Map json_)
    : this(
        taskAttemptStats: json_.containsKey('taskAttemptStats')
            ? (json_['taskAttemptStats'] as core.List)
                .map((value) =>
                    EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        taskExecutionState: json_.containsKey('taskExecutionState')
            ? json_['taskExecutionState'] as core.String
            : null,
        taskNumber: json_.containsKey('taskNumber')
            ? json_['taskNumber'] as core.String
            : null,
      );