name property
String
get
name
Implementation
String get name {
switch (this) {
case ChannelMethod.initialize:
return 'initialize';
case ChannelMethod.registerForNotifications:
return 'registerForNotifications';
case ChannelMethod.unregisterFromNotifications:
return 'unregisterFromNotifications';
case ChannelMethod.getToken:
return 'getToken';
case ChannelMethod.onLaunch:
return 'onLaunch';
case ChannelMethod.onMessage:
return 'onMessage';
case ChannelMethod.onResume:
return 'onResume';
case ChannelMethod.onToken:
return 'onToken';
case ChannelMethod.onExternalData:
return 'onExternalData';
default:
return '';
}
}