StructureViewer<T> constructor

StructureViewer<T>(
  1. DogEngine engine,
  2. DogStructure structure
)

Implementation

StructureViewer(this.engine, this.structure) {
  factories = structure.fields.map((e) {
    final (binder, context) = FlutterWidgetBinder.resolveBinder(engine, structure, e);
    return binder;
  }).toList();
}