call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FItemContentStyle(...));

Implementation

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