Map<String, dynamic> toMap() { return { "isSticky": isSticky, "layoutInDisplayCutoutMode": layoutInDisplayCutoutMode.toValue(), "type": _type }; }