Both corded and battery-powered cordless chainsaws have their advantages, but the best chainsaw electrical power option for your needs will depend on how and where you expect to use your saw.
A battery-powered chainsaw is preferable if you have a larger property and may need to cut trees or brush more than a couple hundred feet away from your house.
However, If your property is smaller, a corded chainsaw can be more convenient, especially if there are large trees close to your house that may require cutting.  Just remember, you will be pulling an extension cord around with you.