Map<String, dynamic> toJson() { return { 'isKeyboardOpen': isKeyboardOpen, 'keyboardHeight': keyboardHeight, }; }