call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FPopoverMenuStyle(...));

Implementation

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