call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FMultiSelectFieldStyle(...));

Implementation

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