setCallRect static method

void setCallRect(
  1. ChatId chatId,
  2. Rect prefs
)

Sets the prefs as the provided call's popup window preferences.

Implementation

static void setCallRect(ChatId chatId, Rect prefs) => web.window.localStorage
    .setItem('prefs_call_$chatId', json.encode(prefs.toJson()));