call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FCardContentStyle(...));

Implementation

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