StartImportTaskResponse.fromJson constructor

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

Implementation

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