toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (password != null) 'password': password!,
  if (resolvedVcenterHost != null)
    'resolvedVcenterHost': resolvedVcenterHost!,
  if (thumbprint != null) 'thumbprint': thumbprint!,
  if (username != null) 'username': username!,
  if (vcenterIp != null) 'vcenterIp': vcenterIp!,
};