create static method

Creates a new FreeBusyTimeTypeParameter when the value is not null

Implementation

static FreeBusyTimeTypeParameter? create(
  String name,
  FreeBusyTimeType? value,
) {
  if (value == null) {
    return null;
  }

  return FreeBusyTimeTypeParameter.value(name, value);
}