CreateLocationRequest constructor

CreateLocationRequest({
  1. String? organizationId,
  2. String? name,
  3. String? parentLocationId,
})

Implementation

factory CreateLocationRequest({
  $core.String? organizationId,
  $core.String? name,
  $core.String? parentLocationId,
}) {
  final $result = create();
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (name != null) {
    $result.name = name;
  }
  if (parentLocationId != null) {
    $result.parentLocationId = parentLocationId;
  }
  return $result;
}