mapOrNull<TResult extends Object?> method
Null safety
- {TResult? w100(
- FontWeightW100 value
- TResult? w200(
- FontWeightW200 value
- TResult? w300(
- FontWeightW300 value
- TResult? w400(
- FontWeightW400 value
- TResult? w500(
- FontWeightW500 value
- TResult? w600(
- FontWeightW600 value
- TResult? w700(
- FontWeightW700 value
- TResult? w800(
- FontWeightW800 value
- TResult? w900(
- FontWeightW900 value
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(FontWeightW100 value)? w100,
TResult? Function(FontWeightW200 value)? w200,
TResult? Function(FontWeightW300 value)? w300,
TResult? Function(FontWeightW400 value)? w400,
TResult? Function(FontWeightW500 value)? w500,
TResult? Function(FontWeightW600 value)? w600,
TResult? Function(FontWeightW700 value)? w700,
TResult? Function(FontWeightW800 value)? w800,
TResult? Function(FontWeightW900 value)? w900,
}) =>
throw _privateConstructorUsedError;