call method

T call({
  1. Color? color,
  2. Offset? offset,
  3. double? blurRadius,
})

Creates a new Attribute with the specified properties.

Any properties not specified will retain their current values.

Implementation

T call({Color? color, Offset? offset, double? blurRadius}) {
  return only(
    color: color?.toDto(),
    offset: offset,
    blurRadius: blurRadius,
  );
}