toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activeKeyVersion != null) 'activeKeyVersion': activeKeyVersion!,
      if (ancestorHasActiveKeyVersion != null)
        'ancestorHasActiveKeyVersion': ancestorHasActiveKeyVersion!,
      if (enrolledAncestor != null) 'enrolledAncestor': enrolledAncestor!,
      if (enrolledServices != null) 'enrolledServices': enrolledServices!,
      if (invalidKeyVersion != null) 'invalidKeyVersion': invalidKeyVersion!,
      if (name != null) 'name': name!,
      if (notificationEmails != null)
        'notificationEmails': notificationEmails!,
      if (notificationPubsubTopic != null)
        'notificationPubsubTopic': notificationPubsubTopic!,
      if (preferNoBroadApprovalRequests != null)
        'preferNoBroadApprovalRequests': preferNoBroadApprovalRequests!,
      if (preferredRequestExpirationDays != null)
        'preferredRequestExpirationDays': preferredRequestExpirationDays!,
    };