call method

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

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,
  double? spreadRadius,
}) {
  return only(
    color: color?.toDto(),
    offset: offset,
    blurRadius: blurRadius,
    spreadRadius: spreadRadius,
  );
}