routeName property

Object? get routeName

Implementation

Object? get routeName => ModalRoute.of(this)?.settings.name;