FFShaderParam constructor

FFShaderParam({
  1. String? key,
  2. FFDoubleValue? doubleValue,
  3. FFColorValue? colorValue,
})

Implementation

factory FFShaderParam({
  $core.String? key,
  FFDoubleValue? doubleValue,
  FFColorValue? colorValue,
}) {
  final result = create();
  if (key != null) result.key = key;
  if (doubleValue != null) result.doubleValue = doubleValue;
  if (colorValue != null) result.colorValue = colorValue;
  return result;
}