category property

String category

Gives additional information about the action to execute.

If this intent has multiple categories, returns the first of them.

Implementation

String get category => categories.isNotEmpty ? categories.first : null;