Mastering Development

Get name of undefined super type or interface with source_gen

I’m working on a builder package and would like access to the class name defined as the super constraint. When first building, it won’t exist so I’m guessing source_gen just excludes it from its analysis For example, considering I require the user to define @fireproof class User extends _$User { final UserBase data; User({ required […]