@override String display() { final fields = _fields.map( (entry) => entry.key + (entry.value.name == 'null' ? '' : ":${entry.value.display()}"), ); return "variant {${fields.join('; ')}}"; }