call method
Returns itself.
Allows FBadgeStyle to replace functions that accept and return a FBadgeStyle, such as a style's
copyWith(...)
function.
Example
Given:
void copyWith(FBadgeStyle Function(FBadgeStyle) nestedStyle) {}
The following:
copyWith((style) => FBadgeStyle(...));
Can be replaced with:
copyWith(FBadgeStyle(...));
Implementation
@useResult
FBadgeStyle call(Object? _) => this as FBadgeStyle;