example

@Mock()
class ExampleEntity {
  const ExampleEntity({
    @required this.id,
    @required this.name,
  });

  final int id;
  final String name;
}

Libraries

mock_annotation