coffee 0.0.5
coffee: ^0.0.5 copied to clipboard

A coffee-related library for an object-oriented representation of coffee.

☕️ Coffee #

A coffee-related library for an object-oriented representation of coffee.

pub points style: very good analysis Dart Validation

Usage #

A simple usage example:

import 'package:coffee/coffee.dart';

var myFavoriteBean = const Bean(
  roaster: 'Patriot Coffee Roaster',
  name: 'Ethiopia Nano Challa',
  roast: Roast.lightMedium,
  countries: [Country.ET],
  altitude: Altitude(lower: 1900, upper: 2200),
  process: Process.washed,
  notes: ['Red Grape', 'Pineapple', 'Elderflower'],
);

var hoffmansV60 = const BrewMethod(
  title: "James Hoffman's Ultimate V60",
  type: BrewType.pourOver,
  steps: [
    'Rinse filter & pre-heat V60',
    'Pour in grounds, create well in the middle.',
    'Pre-wet with (~2x weight of grounds) water.',
    '...',
  ],
);

var myGoToRecipe = BrewRecipe(
  bean: myFavoriteBean,
  grindSize: 4,
  beanWeight: 30.1,
  waterWeight: 504,
  method: hoffmansV60,
);

var todaysCoffee = Coffee(
  notes: 'It was good as always!',
  recipe: myGoToRecipe,
);

Features and bugs #

Please file feature requests and bugs at the issue tracker.

2
likes
130
pub points
5%
popularity

Publisher

elijahluckey.com

A coffee-related library for an object-oriented representation of coffee.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

equatable

More

Packages that depend on coffee