ClusterProto_CreateRequest constructor

ClusterProto_CreateRequest({
  1. String? name,
  2. String? customName,
  3. String? endpoint,
  4. String? deviceEndpoint,
  5. String? country,
})

Implementation

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