BackgroundJobLogEntry.fromJson constructor

BackgroundJobLogEntry.fromJson(
  1. Map json_
)

Implementation

BackgroundJobLogEntry.fromJson(core.Map json_)
    : this(
        applyJobDetails: json_.containsKey('applyJobDetails')
            ? ApplyJobDetails.fromJson(json_['applyJobDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        completionComment: json_.containsKey('completionComment')
            ? json_['completionComment'] as core.String
            : null,
        completionState: json_.containsKey('completionState')
            ? json_['completionState'] as core.String
            : null,
        convertJobDetails: json_.containsKey('convertJobDetails')
            ? ConvertJobDetails.fromJson(json_['convertJobDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        finishTime: json_.containsKey('finishTime')
            ? json_['finishTime'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        importRulesJobDetails: json_.containsKey('importRulesJobDetails')
            ? ImportRulesJobDetails.fromJson(json_['importRulesJobDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        jobType: json_.containsKey('jobType')
            ? json_['jobType'] as core.String
            : null,
        requestAutocommit: json_.containsKey('requestAutocommit')
            ? json_['requestAutocommit'] as core.bool
            : null,
        seedJobDetails: json_.containsKey('seedJobDetails')
            ? SeedJobDetails.fromJson(json_['seedJobDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );