NativeScriptScriptAll.deserialize constructor
NativeScriptScriptAll.deserialize(
- CborListValue cbor
Deserializes a NativeScriptScriptAll from CBOR.
Implementation
factory NativeScriptScriptAll.deserialize(CborListValue cbor) {
NativeScriptUtils.validateCborTypeObject(
cbor.getIndex(0), NativeScriptType.scriptAll);
return NativeScriptScriptAll(cbor
.getIndex<CborListValue>(1)
.value
.map((e) => NativeScript.deserialize(e))
.toList());
}