FFDimensions constructor

FFDimensions({
  1. FFDim? width,
  2. FFDim? height,
})

Implementation

factory FFDimensions({
  FFDim? width,
  FFDim? height,
}) {
  final result = create();
  if (width != null) result.width = width;
  if (height != null) result.height = height;
  return result;
}