extract

open override fun extract(obj: JSONObject): ShortcutSettings

Extract the Type from the provided JSONObject.

Return

The extracted Type.

Parameters

obj

The JSONObject to extract the Type from.

Throws

If the "settings" JSONArray field is missing.

If the "settings" field is not a JSONArray.