call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FLabelStyles(...));

Implementation

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