maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  1. TResult $default(
    1. _TableBorder value
    )?,
  2. {TResult all(
    1. TableBorderAll value
    )?,
  3. TResult symmetric(
    1. TableBorderSymmetric value
    )?,
  4. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>(
      TResult Function(_TableBorder value)? $default, {
      TResult Function(TableBorderAll value)? all,
      TResult Function(TableBorderSymmetric value)? symmetric,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;