decode

fun decode(data: Any?): LocalNodeState?

Returns a valid LocalNodeState for data, null otherwise.