this is my enum:
enum AddFriendType {
email,
phone,
reciver_id,
}
this is my model class:
class FriendsModel {
FriendsModel({
this.parameter,
this.type,
});
String? parameter;
AddFriendType? type;
}
this is how I am using it:
Text("my cool text ${model.type} my cool text")
//my cool text AddFriendType.phone my cool text
but I want it to be: "my cool text phone my cool text"