toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final affiliationState = this.affiliationState;
  final annotatedLocation = this.annotatedLocation;
  final annotatedUser = this.annotatedUser;
  final attestationCredential = this.attestationCredential;
  final browserChannel = this.browserChannel;
  final browserVersion = this.browserVersion;
  final deviceInfo = this.deviceInfo;
  final displayName = this.displayName;
  final etag = this.etag;
  final extensionCount = this.extensionCount;
  final firstEnrollmentTime = this.firstEnrollmentTime;
  final identityProvider = this.identityProvider;
  final lastActivityTime = this.lastActivityTime;
  final lastPolicyFetchTime = this.lastPolicyFetchTime;
  final lastPolicySyncTime = this.lastPolicySyncTime;
  final lastStatusReportTime = this.lastStatusReportTime;
  final name = this.name;
  final osPlatformType = this.osPlatformType;
  final osPlatformVersion = this.osPlatformVersion;
  final osVersion = this.osVersion;
  final policyCount = this.policyCount;
  final profileId = this.profileId;
  final profilePermanentId = this.profilePermanentId;
  final reportingData = this.reportingData;
  final supportsFcmNotifications = this.supportsFcmNotifications;
  final userEmail = this.userEmail;
  final userId = this.userId;
  return {
    'affiliationState': ?affiliationState,
    'annotatedLocation': ?annotatedLocation,
    'annotatedUser': ?annotatedUser,
    'attestationCredential': ?attestationCredential,
    'browserChannel': ?browserChannel,
    'browserVersion': ?browserVersion,
    'deviceInfo': ?deviceInfo,
    'displayName': ?displayName,
    'etag': ?etag,
    'extensionCount': ?extensionCount,
    'firstEnrollmentTime': ?firstEnrollmentTime,
    'identityProvider': ?identityProvider,
    'lastActivityTime': ?lastActivityTime,
    'lastPolicyFetchTime': ?lastPolicyFetchTime,
    'lastPolicySyncTime': ?lastPolicySyncTime,
    'lastStatusReportTime': ?lastStatusReportTime,
    'name': ?name,
    'osPlatformType': ?osPlatformType,
    'osPlatformVersion': ?osPlatformVersion,
    'osVersion': ?osVersion,
    'policyCount': ?policyCount,
    'profileId': ?profileId,
    'profilePermanentId': ?profilePermanentId,
    'reportingData': ?reportingData,
    'supportsFcmNotifications': ?supportsFcmNotifications,
    'userEmail': ?userEmail,
    'userId': ?userId,
  };
}