setIcon method

Future<Map<String, dynamic>> setIcon(
  1. String? iconName
)

Sets the app icon to the specified icon name.

iconName - The name of the icon to set. Pass null to reset to default. Returns a map containing:

  • success (bool)
  • iconName (String?) for successful updates
  • error (String?) or errorMessage (String?) for failed updates

Implementation

Future<Map<String, dynamic>> setIcon(String? iconName) {
  throw UnimplementedError('setIcon() has not been implemented.');
}