toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authority != null) 'authority': authority!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (description != null) 'description': description!,
      if (endpoint != null) 'endpoint': endpoint!,
      if (externalId != null) 'externalId': externalId!,
      if (labels != null) 'labels': labels!,
      if (lastConnectionTime != null)
        'lastConnectionTime': lastConnectionTime!,
      if (monitoringConfig != null) 'monitoringConfig': monitoringConfig!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (uniqueId != null) 'uniqueId': uniqueId!,
      if (updateTime != null) 'updateTime': updateTime!,
    };