ShapeEntity_RectArgs constructor

ShapeEntity_RectArgs({
  1. double? x,
  2. double? y,
  3. double? width,
  4. double? height,
  5. double? cornerRadius,
})

Implementation

factory ShapeEntity_RectArgs({
  $core.double? x,
  $core.double? y,
  $core.double? width,
  $core.double? height,
  $core.double? cornerRadius,
}) {
  final _result = create();
  if (x != null) {
    _result.x = x;
  }
  if (y != null) {
    _result.y = y;
  }
  if (width != null) {
    _result.width = width;
  }
  if (height != null) {
    _result.height = height;
  }
  if (cornerRadius != null) {
    _result.cornerRadius = cornerRadius;
  }
  return _result;
}