when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult repoRef(
    1. RepoRef data
    ),
  2. required TResult strongRef(
    1. StrongRef data
    ),
  3. required TResult messageRef(
    1. MessageRef data
    ),
  4. required TResult unknown(
    1. Map<String, dynamic> data
    ),
})
inherited

Implementation

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