FFParameterValue constructor

FFParameterValue({
  1. @Deprecated('This field is deprecated.') FFBaseDataType? legacyType,
  2. String? serializedValue,
  3. FFColor? color,
  4. FFText? translatableText,
  5. FFIcon? icon,
})

Implementation

factory FFParameterValue({
  @$core.Deprecated('This field is deprecated.') FFBaseDataType? legacyType,
  $core.String? serializedValue,
  FFColor? color,
  FFText? translatableText,
  FFIcon? icon,
}) {
  final result = create();
  if (legacyType != null) result.legacyType = legacyType;
  if (serializedValue != null) result.serializedValue = serializedValue;
  if (color != null) result.color = color;
  if (translatableText != null) result.translatableText = translatableText;
  if (icon != null) result.icon = icon;
  return result;
}