nano_mock 1.0.2 copy "nano_mock: ^1.0.2" to clipboard
nano_mock: ^1.0.2 copied to clipboard

A lightweight mock library without any dependencies or requirements to use code generation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nano_mock

With Flutter:

 $ flutter pub add nano_mock

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  nano_mock: ^1.0.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:nano_mock/nano_mock.dart';
3
likes
130
pub points
18%
popularity

Publisher

verified publisheroborgen.se

A lightweight mock library without any dependencies or requirements to use code generation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on nano_mock