mapNullable
Creates a new Inspector from a non-nullable parent inspector that either contains the original value or null
if its value matches the given placeholder.
When updating the value of the resulting Store to null
, the placeholder is used instead. When the resulting Inspector's value would be the placeholder, null
will be used instead.
Parameters
placeholder
value to be mapped to null
Creates a new Store from a non-nullable parent store that either contains the original value or null
if its value matches the given placeholder.
When updating the value of the resulting Store to null
, the placeholder is used instead. When the resulting Store's value would be the placeholder, null
will be used instead.
Parameters
placeholder
value to be mapped to null