JsonDropdownButtonFormFieldBuilder.fromModel constructor
JsonDropdownButtonFormFieldBuilder.fromModel()
Constructor to build the widget via code rather than JSON. This is used to be able to encode widgets into JSON to help with the JSON generation. It can also be used to more easily debug widgets that are not working as expected.
Implementation
factory JsonDropdownButtonFormFieldBuilder.fromModel(
JsonDropdownButtonFormFieldBuilderModel model,
) =>
fromDynamic(model.toJson());