toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (hostConfig != null) 'hostConfig': hostConfig!,
  if (kmsKey != null) 'kmsKey': kmsKey!,
  if (labels != null) 'labels': labels!,
  if (name != null) 'name': name!,
  if (privateConfig != null) 'privateConfig': privateConfig!,
  if (state != null) 'state': state!,
  if (stateNote != null) 'stateNote': stateNote!,
  if (updateTime != null) 'updateTime': updateTime!,
  if (workforceIdentityFederationConfig != null)
    'workforceIdentityFederationConfig': workforceIdentityFederationConfig!,
};