toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cacheConfig != null) 'cacheConfig': cacheConfig!,
  if (cacheState != null) 'cacheState': cacheState!,
  if (command != null) 'command': command!,
  if (enableGlobalFileLock != null)
    'enableGlobalFileLock': enableGlobalFileLock!,
  if (passphrase != null) 'passphrase': passphrase!,
  if (peerClusterName != null) 'peerClusterName': peerClusterName!,
  if (peerIpAddresses != null) 'peerIpAddresses': peerIpAddresses!,
  if (peerSvmName != null) 'peerSvmName': peerSvmName!,
  if (peerVolumeName != null) 'peerVolumeName': peerVolumeName!,
  if (peeringCommandExpiryTime != null)
    'peeringCommandExpiryTime': peeringCommandExpiryTime!,
  if (stateDetails != null) 'stateDetails': stateDetails!,
};