UserInfoExtension extension

Convenience methods for the UserInfo class.

on

Methods

toPublic({bool includeUserId = true, bool includeFullName = true}) UserInfoPublic

Available on UserInfo, provided by the UserInfoExtension extension

Returns an object with only the information that can safely be shared publicly for the user.