call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FDialogContentStyle(...));

Implementation

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