chore: add cooldown to channel_model.dart and test it

This commit is contained in:
groovinchip
2021-07-22 10:11:34 -04:00
parent 6b632232c8
commit 61d7661297
2 changed files with 9 additions and 0 deletions
@@ -12,6 +12,7 @@ void main() {
expect(channel.cid, equals('livestream:test'));
expect(channel.extraData['cats'], equals(true));
expect(channel.extraData['fruit'], equals(['bananas', 'apples']));
expect(channel.cooldown, equals(0));
});
test('should serialize to json correctly', () {