AvataaarHair.hat constructor

const AvataaarHair.hat([
  1. @Default(AvataaarHair.defaultHatColorHat) @ColorSerialiser() Color color
])

Implementation

const factory AvataaarHair.hat(
    [@Default(AvataaarHair.defaultHatColorHat)
    @ColorSerialiser()
        Color color]) = AvataaarTypeHairHat;