email property
String?
get
email
The email address set by the user. This value only exists when idToken is
valid and the user has set the email address in LINE and agreed to share it
with you. Both "openid" and "email" scopes are required to get the user email.
If you are not applying an ID Token when login, or the user does not set
the email for the LINE account, or the user refuses to grant your access,
null is returned.
Implementation
String? get email => idToken?['email'];