toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adminEmails != null) 'adminEmails': adminEmails!,
      if (companyId != null) 'companyId': companyId!,
      if (companyName != null) 'companyName': companyName!,
      if (googleWorkspaceAccount != null)
        'googleWorkspaceAccount': googleWorkspaceAccount!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (name != null) 'name': name!,
      if (ownerEmails != null) 'ownerEmails': ownerEmails!,
      if (skipWelcomeEmail != null) 'skipWelcomeEmail': skipWelcomeEmail!,
      if (termsStatus != null) 'termsStatus': termsStatus!,
    };