Spray your casserole dish or baking dish with cooking spray.
Cut your sweet potatoes into 1 to 2 inch pieces
Fill a saucepan with water, and then boil the sweet potatoes until they are fork tender, about 10 to 15 minutes.
Drain the water, and then using a potato masher, mash the potatoes until they are smooth.
Fold in the rest of the ingredients for the sweet potatoes, mix well.
Transfer the sweet potatoes to the greased casserole dish.
In.a large bowl, add all of the ingredients for the topping, and then sprinkle over the casserole.
Set into the air fryer and cook at 300 degrees F, air fryer setting, for 10 to 15 minutes. If you find that he top is getting too brown, cover the casserole tightly with foil.