call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FBadgeContentStyle(...));

Implementation

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