maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult valueObject(
    1. ValueObjectMK value
    )?,
  2. TResult entity(
    1. EntityMK value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ValueObjectMK value)? valueObject,
  TResult Function(EntityMK value)? entity,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;