data property

The name of the drawable resource.

For example if the drawable resource is located at res/drawable/app_icon.png, the icon should be app_icon

Implementation

@override
String get data => _icon;