currentType property

String? get currentType

Implementation

String? get currentType => _getIcon()?.getAttribute('type');