copyWith method

FFill copyWith({
  1. List<FFillElement>? levels,
  2. FFillType? type,
  3. Alignment? begin,
  4. Alignment? end,
  5. Alignment? center,
  6. double? radius,
  7. FBoxFit? boxFit,
  8. dynamic paletteStyle,
  9. ID? variableID,
  10. JsonGetAttribute? jsonGetAttribute,
})

Implementation

FFill copyWith({
  List<FFillElement>? levels,
  FFillType? type,
  Alignment? begin,
  Alignment? end,
  Alignment? center,
  double? radius,
  FBoxFit? boxFit,
  dynamic paletteStyle,
  ID? variableID,
  JsonGetAttribute? jsonGetAttribute,
}) {
  return FFill(
    levels: levels ?? this.levels,
    type: type ?? this.type,
    begin: begin ?? this.begin,
    end: end ?? this.end,
    center: center ?? this.center,
    radius: radius ?? this.radius,
    boxFit: boxFit ?? this.boxFit,
    paletteStyle: paletteStyle,
    variableID: variableID,
    jsonGetAttribute: jsonGetAttribute,
  );
}