toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (certificateId != null) 'certificateId': certificateId!,
      if (createTime != null) 'createTime': createTime!,
      if (creatorEmail != null) 'creatorEmail': creatorEmail!,
      if (credentialType != null) 'credentialType': credentialType!,
      if (decryptedCredential != null)
        'decryptedCredential': decryptedCredential!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptedCredential != null)
        'encryptedCredential': encryptedCredential!,
      if (expiryNotificationDuration != null)
        'expiryNotificationDuration': expiryNotificationDuration!,
      if (lastModifierEmail != null) 'lastModifierEmail': lastModifierEmail!,
      if (name != null) 'name': name!,
      if (overrideValidTime != null) 'overrideValidTime': overrideValidTime!,
      if (reason != null) 'reason': reason!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (validTime != null) 'validTime': validTime!,
      if (visibility != null) 'visibility': visibility!,
    };