ProfileUserInfo constructor

ProfileUserInfo({
  1. required String email,
  2. required String id,
})

Implementation

ProfileUserInfo({
  /// An email address for the user account signed into the current
  /// profile. Empty if the user is not signed in or the
  /// `identity.email` manifest permission is not
  /// specified.
  required String email,

  /// A unique identifier for the account. This ID will not change
  /// for the lifetime of the account. Empty if the user is not
  /// signed in or (in M41+) the `identity.email`
  /// manifest permission is not specified.
  required String id,
}) : _wrapped = $js.ProfileUserInfo(
        email: email,
        id: id,
      );