factory FileWriteInput.fromMap(Map<String, dynamic> map) { return FileWriteInput( filePath: map['file_path'] as String? ?? '', content: map['content'] as String? ?? '', ); }