call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FMultiSelectStyle(...));

Implementation

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