Reaction constructor

Reaction({
  1. required Color color,
  2. required String tooltip,
  3. required Icon on,
  4. required Icon off,
  5. required int count,
  6. required String? uri,
})

Implementation

Reaction(
    {required this.color,
    required this.tooltip,
    required this.on,
    required this.off,
    required this.count,
    required this.uri});