from

open override fun from(payload: ZappPayload): ZapMagneticField

Decode and return Zapable object from ZappPayload.

Parameters

payload

A payload to decode to Zapable object.