toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final addresses = this.addresses;
  final agreedToTerms = this.agreedToTerms;
  final aliases = this.aliases;
  final archived = this.archived;
  final changePasswordAtNextLogin = this.changePasswordAtNextLogin;
  final creationTime = this.creationTime;
  final customSchemas = this.customSchemas;
  final customerId = this.customerId;
  final deletionTime = this.deletionTime;
  final emails = this.emails;
  final etag = this.etag;
  final externalIds = this.externalIds;
  final gender = this.gender;
  final guestAccountInfo = this.guestAccountInfo;
  final hashFunction = this.hashFunction;
  final id = this.id;
  final ims = this.ims;
  final includeInGlobalAddressList = this.includeInGlobalAddressList;
  final ipWhitelisted = this.ipWhitelisted;
  final isAdmin = this.isAdmin;
  final isDelegatedAdmin = this.isDelegatedAdmin;
  final isEnforcedIn2Sv = this.isEnforcedIn2Sv;
  final isEnrolledIn2Sv = this.isEnrolledIn2Sv;
  final isGuestUser = this.isGuestUser;
  final isMailboxSetup = this.isMailboxSetup;
  final keywords = this.keywords;
  final kind = this.kind;
  final languages = this.languages;
  final lastLoginTime = this.lastLoginTime;
  final locations = this.locations;
  final name = this.name;
  final nonEditableAliases = this.nonEditableAliases;
  final notes = this.notes;
  final orgUnitPath = this.orgUnitPath;
  final organizations = this.organizations;
  final password = this.password;
  final phones = this.phones;
  final posixAccounts = this.posixAccounts;
  final primaryEmail = this.primaryEmail;
  final recoveryEmail = this.recoveryEmail;
  final recoveryPhone = this.recoveryPhone;
  final relations = this.relations;
  final sshPublicKeys = this.sshPublicKeys;
  final suspended = this.suspended;
  final suspensionReason = this.suspensionReason;
  final thumbnailPhotoEtag = this.thumbnailPhotoEtag;
  final thumbnailPhotoUrl = this.thumbnailPhotoUrl;
  final websites = this.websites;
  return {
    'addresses': ?addresses,
    'agreedToTerms': ?agreedToTerms,
    'aliases': ?aliases,
    'archived': ?archived,
    'changePasswordAtNextLogin': ?changePasswordAtNextLogin,
    'creationTime': ?creationTime?.toUtc().toIso8601String(),
    'customSchemas': ?customSchemas,
    'customerId': ?customerId,
    'deletionTime': ?deletionTime?.toUtc().toIso8601String(),
    'emails': ?emails,
    'etag': ?etag,
    'externalIds': ?externalIds,
    'gender': ?gender,
    'guestAccountInfo': ?guestAccountInfo,
    'hashFunction': ?hashFunction,
    'id': ?id,
    'ims': ?ims,
    'includeInGlobalAddressList': ?includeInGlobalAddressList,
    'ipWhitelisted': ?ipWhitelisted,
    'isAdmin': ?isAdmin,
    'isDelegatedAdmin': ?isDelegatedAdmin,
    'isEnforcedIn2Sv': ?isEnforcedIn2Sv,
    'isEnrolledIn2Sv': ?isEnrolledIn2Sv,
    'isGuestUser': ?isGuestUser,
    'isMailboxSetup': ?isMailboxSetup,
    'keywords': ?keywords,
    'kind': ?kind,
    'languages': ?languages,
    'lastLoginTime': ?lastLoginTime?.toUtc().toIso8601String(),
    'locations': ?locations,
    'name': ?name,
    'nonEditableAliases': ?nonEditableAliases,
    'notes': ?notes,
    'orgUnitPath': ?orgUnitPath,
    'organizations': ?organizations,
    'password': ?password,
    'phones': ?phones,
    'posixAccounts': ?posixAccounts,
    'primaryEmail': ?primaryEmail,
    'recoveryEmail': ?recoveryEmail,
    'recoveryPhone': ?recoveryPhone,
    'relations': ?relations,
    'sshPublicKeys': ?sshPublicKeys,
    'suspended': ?suspended,
    'suspensionReason': ?suspensionReason,
    'thumbnailPhotoEtag': ?thumbnailPhotoEtag,
    'thumbnailPhotoUrl': ?thumbnailPhotoUrl,
    'websites': ?websites,
  };
}