decode static method
Deserialize a json compatible object into a NapaWidget or null.
Implementation
static NapaIgnorePointer? decode(dynamic data) {
if (data == null) {
return null;
}
return NapaIgnorePointer(
ignoring: data['ignoring'] ?? true,
child: NapaWidget.decode(data['child']),
);
}