BackfillJob.fromJson constructor

BackfillJob.fromJson(
  1. Map json_
)

Implementation

BackfillJob.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => Error.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        lastEndTime: json_.containsKey('lastEndTime')
            ? json_['lastEndTime'] as core.String
            : null,
        lastStartTime: json_.containsKey('lastStartTime')
            ? json_['lastStartTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        trigger: json_.containsKey('trigger')
            ? json_['trigger'] as core.String
            : null,
      );