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