call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FSelectSearchStyle(...));

Implementation

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