remindType method
The conversation no disturb type. ChatPushRemindType
Throws A description of the exception. See ChatError.
Implementation
Future<ChatPushRemindType> remindType() async {
try {
Map req = _toJson();
Map result = await platform_interface.Client.instance.conversationManager
.callNativeMethod(ChatMethodKeys.conversationRemindType, req);
ChatError.hasErrorFromResult(result);
return ChatPushRemindType
.values[result[ChatMethodKeys.conversationRemindType]];
} catch (e) {
rethrow;
}
}