koukibadr / Elegant-Notification

https://pub.dev/packages/elegant_notification
MIT License
46 stars 30 forks source link

DRY refactor assertions and other properties #86

Closed shatanikmahanty closed 1 year ago

shatanikmahanty commented 1 year ago

Assertions were repeated per constructor. Thus extracted them into single function which will help ease the development in future by adding the ability to change in a single point.

This PR also contain DRY refactorings for other properties