getModeName method

String? getModeName()

Return the name of the current mode.

Implementation

String? getModeName() => getMode()['name'];