setPushTemplate static method
- String name
Sets push template option for the current User.
The only valid arguments for template name are SendbirdChat.pushTemplateDefault and SendbirdChat.pushTemplateAlternative.
If SendbirdChat.pushTemplateDefault is set,
the push notification will contain the original message in the message field of the push notification.
If SendbirdChat.pushTemplateAlternative is set,
message of push notification will be replaced by the content you've set on
Sendbird Dashboard.
Implementation
static Future<void> setPushTemplate(String name) async {
sbLog.i(StackTrace.current, 'name: $name');
return await _instance._chat.setPushTemplate(name);
}