toFriendTypeStatus method
- {FriendType? method}
Implementation
String toFriendTypeStatus({FriendType? method}) {
String method = this;
if (method == Friend_FOLLOW) {
return 'Follow';
} else if (method == Friend_FOLLOWING) {
return 'Following';
} else if (method == Friend_REQUEST_SENT) {
return 'Request Sent';
}
return this;
}