mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. {TResult? start(
    1. FloatingLabelAlignmentStart value
    )?,
  2. TResult? center(
    1. FloatingLabelAlignmentCenter value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(FloatingLabelAlignmentStart value)? start,
  TResult? Function(FloatingLabelAlignmentCenter value)? center,
}) =>
    throw _privateConstructorUsedError;