decode static method
Implementation
static OverlayWindowConfig decode(Object result) {
result as List<Object?>;
return OverlayWindowConfig(
height: result[0] as int?,
width: result[1] as int?,
alignment: result[2] != null ? OverlayAlignment.values[result[2]! as int] : null,
visibility: result[3] != null ? NotificationVisibility.values[result[3]! as int] : null,
flag: result[4] != null ? OverlayFlag.values[result[4]! as int] : null,
overlayTitle: result[5] as String?,
overlayContent: result[6] as String?,
enableDrag: result[7] as bool?,
positionGravity: result[8] != null ? PositionGravity.values[result[8]! as int] : null,
);
}