whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? relationship(
    1. Relationship data
    )?,
  2. TResult? notFoundActor(
    1. NotFoundActor data
    )?,
  3. TResult? unknown(
    1. Map<String, dynamic> data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(Relationship data)? relationship,
  TResult? Function(NotFoundActor data)? notFoundActor,
  TResult? Function(Map<String, dynamic> data)? unknown,
}) =>
    throw _privateConstructorUsedError;