call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FDeterminateProgressStyle(...));

Implementation

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