when<T> method

  1. @override
T when<T>({
  1. required T jar(
    1. JarDependency
    ),
  2. required T jbuildProject(
    1. ProjectDependency
    ),
})
override

Implementation

@override
T when<T>(
        {required T Function(JarDependency) jar,
        required T Function(ProjectDependency) jbuildProject}) =>
    jar(this);