@override Object toJson() => { if (offset.isNotDefault) 'offset': offset, if (window.isNotDefault) 'window': window, };