PollAirflowCommandResponse.fromJson constructor

PollAirflowCommandResponse.fromJson(
  1. Map json_
)

Implementation

PollAirflowCommandResponse.fromJson(core.Map json_)
    : this(
        exitInfo: json_.containsKey('exitInfo')
            ? ExitInfo.fromJson(
                json_['exitInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        output: json_.containsKey('output')
            ? (json_['output'] as core.List)
                .map((value) => Line.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        outputEnd: json_.containsKey('outputEnd')
            ? json_['outputEnd'] as core.bool
            : null,
      );