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