SearchAgentHeader constructor

SearchAgentHeader({
  1. SearchAgentId? id,
  2. StoredImage? thumbnail,
  3. StringValue? displayName,
})

Implementation

factory SearchAgentHeader({
  $0.SearchAgentId? id,
  $1.StoredImage? thumbnail,
  $3.StringValue? displayName,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (thumbnail != null) result.thumbnail = thumbnail;
  if (displayName != null) result.displayName = displayName;
  return result;
}