toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (appAutoApprovalEnabled != null)
    'appAutoApprovalEnabled': appAutoApprovalEnabled!,
  if (contactInfo != null) 'contactInfo': contactInfo!,
  if (enabledNotificationTypes != null)
    'enabledNotificationTypes': enabledNotificationTypes!,
  if (enterpriseDisplayName != null)
    'enterpriseDisplayName': enterpriseDisplayName!,
  if (enterpriseType != null) 'enterpriseType': enterpriseType!,
  if (googleAuthenticationSettings != null)
    'googleAuthenticationSettings': googleAuthenticationSettings!,
  if (logo != null) 'logo': logo!,
  if (managedGoogleDomainType != null)
    'managedGoogleDomainType': managedGoogleDomainType!,
  if (managedGooglePlayAccountsEnterpriseType != null)
    'managedGooglePlayAccountsEnterpriseType':
        managedGooglePlayAccountsEnterpriseType!,
  if (name != null) 'name': name!,
  if (primaryColor != null) 'primaryColor': primaryColor!,
  if (pubsubTopic != null) 'pubsubTopic': pubsubTopic!,
  if (signinDetails != null) 'signinDetails': signinDetails!,
  if (termsAndConditions != null) 'termsAndConditions': termsAndConditions!,
};