mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. TResult? $default(
    1. _EdgeInsets value
    )?,
  2. {TResult? only(
    1. EdgeInsetsOnly value
    )?,
  3. TResult? all(
    1. EdgeInsetsAll value
    )?,
  4. TResult? symmetric(
    1. EdgeInsetsSymmetric value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  TResult? Function(_EdgeInsets value)? $default, {
  TResult? Function(EdgeInsetsOnly value)? only,
  TResult? Function(EdgeInsetsAll value)? all,
  TResult? Function(EdgeInsetsSymmetric value)? symmetric,
}) =>
    throw _privateConstructorUsedError;