maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult repoRef(
    1. RepoRef data
    )?,
  2. TResult strongRef(
    1. StrongRef data
    )?,
  3. TResult repoBlobRef(
    1. RepoBlobRef data
    )?,
  4. TResult unknown(
    1. Map<String, dynamic> data
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(RepoRef data)? repoRef,
  TResult Function(StrongRef data)? strongRef,
  TResult Function(RepoBlobRef data)? repoBlobRef,
  TResult Function(Map<String, dynamic> data)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;