PollForTaskOutput.fromJson constructor

PollForTaskOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PollForTaskOutput.fromJson(Map<String, dynamic> json) {
  return PollForTaskOutput(
    taskObject: json['taskObject'] != null
        ? TaskObject.fromJson(json['taskObject'] as Map<String, dynamic>)
        : null,
  );
}