MatchPosition constructor

MatchPosition({
  1. double? leftRatio,
  2. double? topRatio,
  3. double? rightRatio,
  4. double? bottomRatio,
})

Implementation

factory MatchPosition({
  $core.double? leftRatio,
  $core.double? topRatio,
  $core.double? rightRatio,
  $core.double? bottomRatio,
}) {
  final _result = create();
  if (leftRatio != null) {
    _result.leftRatio = leftRatio;
  }
  if (topRatio != null) {
    _result.topRatio = topRatio;
  }
  if (rightRatio != null) {
    _result.rightRatio = rightRatio;
  }
  if (bottomRatio != null) {
    _result.bottomRatio = bottomRatio;
  }
  return _result;
}