domain_wc 1.0.0 copy "domain_wc: ^1.0.0" to clipboard
domain_wc: ^1.0.0 copied to clipboard

The models and the use cases about PokemonApi.

Description #

The models and the use cases about PokemonApi

Features #

  • PokemonGateway
  • Pokemon
  • PokemonUseCase

Getting started #

pub get

Usage #

A little example

import 'package:domain_wc/domain_wc.dart';

void main() {
  var awesome = Pokemon(
      count: 1,
      next: '2',
      previous: '0',
      pokeDetails: [PokeDetail(name: 'Fake pokemon', url: 'fakeurl')]);
  print('awesome: ${awesome.count}');
}

Additional information #

This is an example package used to explain the clean architecture.

1
likes
120
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

The models and the use cases about PokemonApi.

Homepage

Documentation

API reference

License

MIT (license)

More

Packages that depend on domain_wc