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 (googleAuthenticationSettings != null)
        'googleAuthenticationSettings': googleAuthenticationSettings!,
      if (logo != null) 'logo': logo!,
      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!,
    };