Map<String, dynamic> toJson() { final map = <String, dynamic>{}; map['file_path'] = _filePath; map['success'] = _success; return map; }