mockito_builder_annotations 0.2.1 mockito_builder_annotations: ^0.2.1 copied to clipboard
Defines the annotations used by `mockito_builder` to generate `mockito` classes.
import 'package:mockito_builder_annotations/mockito_builder_annotations.dart';
abstract class ExampleUseCase {
int example();
}
abstract class ExampleUseCase2 {
void example2();
}
@GenerateMocker([ExampleUseCase, ExampleUseCase2])
T mock<T>() => _$mock<T>();