call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FAutocompleteStyle(...));

Implementation

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