getImPushConfig method Null safety
- @Deprecated('use - getPushConfigsFromCache method instead.')
@Deprecated('use - getPushConfigsFromCache method instead.')
Gets push options from the local database.
Implementation
@Deprecated('use - getPushConfigsFromCache method instead.')
Future<EMPushConfigs> getImPushConfig() async {
Map result = await _channel.invokeMethod(ChatMethodKeys.getImPushConfig);
try {
EMError.hasErrorFromResult(result);
return EMPushConfigs.fromJson(result[ChatMethodKeys.getImPushConfig]);
} on EMError catch (e) {
throw e;
}
}