Map<String, dynamic> toMap() => { 'dir': dir, 'type': type, 'recursive': recursive, 'output_file': outputFile, };