struct

TLV::FieldState(T)

Inherits Struct < Value < Object

A field that may be omitted, explicitly Null, or carry a typed value. Use this for Matter fields whose absent and Null forms have different meanings. Plain T? fields keep their existing behavior.

Constructors

absent
Source
null
Source
value(value : T) : self
Source

Instance methods

absent?
Source
kind
Source
null?
Source
value!
Source
value?
Source

Nested types