mockito_builder_annotations 0.2.3 copy "mockito_builder_annotations: ^0.2.3" to clipboard
mockito_builder_annotations: ^0.2.3 copied to clipboard

discontinued

Defines the annotations used by `mockito_builder` to generate `mockito` classes.

example/example.dart

import 'package:mockito_builder_annotations/mockito_builder_annotations.dart';
import 'package:mockito/mockito.dart';

abstract class ExampleUseCase {
  int example();
}

abstract class ExampleUseCase2 {
  void example2();
}

@GenerateMocker([ExampleUseCase, ExampleUseCase2])
T mock<T>() => _$mock<T>();
0
likes
40
pub points
0%
popularity

Publisher

verified publisherrmdy.be

Defines the annotations used by `mockito_builder` to generate `mockito` classes.

Homepage

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on mockito_builder_annotations