Transform from Style to map
Map<String, dynamic> toMap() { return {'avatarStyle': Converter.enumToJson(avatarStyle)}; }