Well, I don't have any electric nailgun experience, but I can comment on brands (
if that helps). DeWalt is owned by Black & Decker. DeWalt is considered more of the contractor option or prosumer so the build quality is better but it costs more. Black & Decker has always been more targeted to homeowners so it is lower cost than the DeWalt line. I have purchased and still own corded DeWalt tools that I use. For cordless, I have gone entirely with Milwaukee. I have always been a fan of corded Milwaukee tools, but in the last decade or so, Milwaukee has come on strong in this area. I think most industry types agree that Milwaukee has been leading in the lithium ion powered tool market for several years now. I have seen a few articles online talk about Milwaukee's rise...below is just one. In short, the head guy at Black & Decker left around a decade ago and went to the parent company of Milwaukee. It is my understanding that he was able to pull some talented employees away and bring them over to Milwaukee (hurting B&D and DeWalt). So there is a bitter rivalry between these two companies now. Don't know if any of this helps you, but if I was to bet between these two companies, I would put my money on Milwaukee for the foreseeable future. They seem to be leading in innovation and in giving homeowners/contractors exactly the cordless tools they want. Just my 2 cents...if this is all too much information, then please disregard this post. I just think it is interesting some of the background information that happens inside of some of these tool companies.
Hopefully someone on the forum can give you their direct experience working with an electric nailgun. I wish I had one, but for now will keep using my pneumatic until it breaks.
https://www.baltimoresun.com/news/bs-xpm-2007-12-27-0712270155-story.html
This review is a few years old, but it is fairly thorough. The DeWalt did well in it and is probably a good all around choice:
https://www.toolboxbuzz.com/head-to-head/best-cordless-finish-nailers-head-to-head/2/
Updated review:
https://www.toolboxbuzz.com/cordless-tools/best-18-gauge-cordless-brad-nailer/