call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FAutocompleteContentStyle(...));

Implementation

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