Converts instance to a map.
Map<String, dynamic> toMap() { return { "displayCutoutMode": displayCutoutMode.toNativeValue(), "isSticky": isSticky, ..._toMapMergeWith(), }; }