getCallRect static method
- ChatId chatId
 
Returns the Rect stored by the provided chatId, if any.
Implementation
static Rect? getCallRect(ChatId chatId) {
  final data = web.window.localStorage.getItem('prefs_call_$chatId');
  if (data != null) {
    return _RectExtension.fromJson(json.decode(data));
  }
  return null;
}