SearchObjectBadge constructor

SearchObjectBadge({
  1. SearchObjectBadge_BadgeType? type,
  2. StringValue? text,
})

Implementation

factory SearchObjectBadge({
  SearchObjectBadge_BadgeType? type,
  $3.StringValue? text,
}) {
  final result = create();
  if (type != null) result.type = type;
  if (text != null) result.text = text;
  return result;
}