toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (lastTrustHeartbeatTime != null)
    'lastTrustHeartbeatTime': lastTrustHeartbeatTime!,
  if (selectiveAuthentication != null)
    'selectiveAuthentication': selectiveAuthentication!,
  if (state != null) 'state': state!,
  if (stateDescription != null) 'stateDescription': stateDescription!,
  if (targetDnsIpAddresses != null)
    'targetDnsIpAddresses': targetDnsIpAddresses!,
  if (targetDomainName != null) 'targetDomainName': targetDomainName!,
  if (trustDirection != null) 'trustDirection': trustDirection!,
  if (trustHandshakeSecret != null)
    'trustHandshakeSecret': trustHandshakeSecret!,
  if (trustType != null) 'trustType': trustType!,
  if (updateTime != null) 'updateTime': updateTime!,
};