structFields property

List<Map<String, dynamic>> get structFields

The struct field descriptors, or empty list if not a struct.

Each field is {"name": ..., "width": ..., "bits": [...]} with an optional "type" key for nested structs/arrays.

Implementation

List<Map<String, dynamic>> get structFields =>
    (logicType?['fields'] as List<dynamic>?)?.cast<Map<String, dynamic>>() ??
    const [];