call method

  1. @useResult
FCircularProgressStyle call(
  1. Object? _
)
inherited

Returns itself.

Allows FCircularProgressStyle to replace functions that accept and return a FCircularProgressStyle, such as a style's copyWith(...) function.

Example

Given:

void copyWith(FCircularProgressStyle Function(FCircularProgressStyle) nestedStyle) {}

The following:

copyWith((style) => FCircularProgressStyle(...));

Can be replaced with:

copyWith(FCircularProgressStyle(...));

Implementation

@useResult
FCircularProgressStyle call(Object? _) => this as FCircularProgressStyle;