StructHandle constructor

StructHandle(
  1. String name,
  2. Map<String, DslType> fields, {
  3. String? description,
  4. Object? defaultValue,
})

Implementation

StructHandle(
  this.name,
  Map<String, DslType> fields, {
  this.description,
  super.defaultValue,
}) : fields = UnmodifiableMapView(Map<String, DslType>.from(fields));