Skip to content

Commit 83acd9c

Browse files
chrisbobbegnprice
authored andcommitted
model [nfc]: Add dartdoc for StreamColorSwatch.base
1 parent 9ffa8eb commit 83acd9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/api/model/model.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ class Subscription extends ZulipStream {
465465
class StreamColorSwatch extends ColorSwatch<_StreamColorVariant> {
466466
StreamColorSwatch(int base) : super(base, _compute(base));
467467

468+
/// The [Subscription.color] int that the swatch is based on.
468469
Color get base => this[_StreamColorVariant.base]!;
469470

470471
Color get unreadCountBadgeBackground => this[_StreamColorVariant.unreadCountBadgeBackground]!;

0 commit comments

Comments
 (0)