ClusterProto constructor

ClusterProto({
  1. Int64? id,
  2. String? name,
  3. String? customName,
  4. String? endpoint,
  5. String? country,
})

Implementation

factory ClusterProto({
  $fixnum.Int64? id,
  $core.String? name,
  $core.String? customName,
  $core.String? endpoint,
  $core.String? country,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (name != null) result.name = name;
  if (customName != null) result.customName = customName;
  if (endpoint != null) result.endpoint = endpoint;
  if (country != null) result.country = country;
  return result;
}