fromDynamic static method
Builds the builder from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
{
"ignoring": "<bool>",
"ignoringSemantics": "<bool>"
}
Implementation
static JsonIgnorePointerBuilder? fromDynamic(
dynamic map, {
JsonWidgetRegistry? registry,
}) {
JsonIgnorePointerBuilder? result;
if (map != null) {
result = JsonIgnorePointerBuilder(
ignoring: map['ignoring'] == null
? true
: JsonClass.parseBool(map['ignoring']),
ignoringSemantics: map['ignoringSemantics'] == null
? null
: JsonClass.parseBool(map['ignoringSemantics']),
);
}
return result;
}