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