maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<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
    )?,
  5. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

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