toJson method

Map toJson()

Implementation

Map toJson() {
  return {
    'id': id,
    'username': username,
    'discriminator': discriminator,
    'avatar': avatar,
    'bot': bot,
    'system': system,
    'mfa_enabled': mfaEnabled,
    'locale': locale,
    'verified': verified,
    'email': email,
    'flags': flags,
    'premium_type': premiumType,
    'public_flags': publicFlags,
  };
}