withSwitch method
Implementation
JsonWidgetInternalBuildersBuilder withSwitch() {
builders[JsonSwitchBuilder.type] = JsonWidgetBuilderContainer(
builder: JsonSwitchBuilder.fromDynamic,
schemaId: SwitchSchema.id,
);
return this;
}
JsonWidgetInternalBuildersBuilder withSwitch() {
builders[JsonSwitchBuilder.type] = JsonWidgetBuilderContainer(
builder: JsonSwitchBuilder.fromDynamic,
schemaId: SwitchSchema.id,
);
return this;
}