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