getPushTemplate method
Gets the template for offline push notifications.
Return The push template name.
Throws A description of the exception. See ChatError.
Implementation
Future<String?> getPushTemplate() async {
  Map result = await PushChannel.invokeMethod(ChatMethodKeys.getPushTemplate);
  try {
    ChatError.hasErrorFromResult(result);
    String? ret = result[ChatMethodKeys.getPushTemplate];
    return ret;
  } on ChatError catch (e) {
    throw e;
  }
}