call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FSliderStyles(...));

Implementation

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