FFBorderRadius constructor

FFBorderRadius({
  1. double? legacyTopLeft,
  2. double? legacyTopRight,
  3. double? legacyBottomLeft,
  4. double? legacyBottomRight,
  5. FFBorderRadius_BorderRadiusType? type,
  6. double? legacyAll,
  7. FFDoubleValue? topLeftValue,
  8. FFDoubleValue? topRightValue,
  9. FFDoubleValue? bottomLeftValue,
  10. FFDoubleValue? bottomRightValue,
  11. FFDoubleValue? allValue,
  12. FFIdentifier? themeRadiusToken,
})

Implementation

factory FFBorderRadius({
  $core.double? legacyTopLeft,
  $core.double? legacyTopRight,
  $core.double? legacyBottomLeft,
  $core.double? legacyBottomRight,
  FFBorderRadius_BorderRadiusType? type,
  $core.double? legacyAll,
  FFDoubleValue? topLeftValue,
  FFDoubleValue? topRightValue,
  FFDoubleValue? bottomLeftValue,
  FFDoubleValue? bottomRightValue,
  FFDoubleValue? allValue,
  FFIdentifier? themeRadiusToken,
}) {
  final result = create();
  if (legacyTopLeft != null) result.legacyTopLeft = legacyTopLeft;
  if (legacyTopRight != null) result.legacyTopRight = legacyTopRight;
  if (legacyBottomLeft != null) result.legacyBottomLeft = legacyBottomLeft;
  if (legacyBottomRight != null) result.legacyBottomRight = legacyBottomRight;
  if (type != null) result.type = type;
  if (legacyAll != null) result.legacyAll = legacyAll;
  if (topLeftValue != null) result.topLeftValue = topLeftValue;
  if (topRightValue != null) result.topRightValue = topRightValue;
  if (bottomLeftValue != null) result.bottomLeftValue = bottomLeftValue;
  if (bottomRightValue != null) result.bottomRightValue = bottomRightValue;
  if (allValue != null) result.allValue = allValue;
  if (themeRadiusToken != null) result.themeRadiusToken = themeRadiusToken;
  return result;
}