call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FAlertStyles(...));

Implementation

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