14 lines
267 B
Dart
14 lines
267 B
Dart
|
|
import '../incomingPacket.dart';
|
|
|
|
class TalkNotificationsPacket extends IncomingPacket {
|
|
TalkNotificationsPacket() : super("talkNotifications");
|
|
|
|
int _amount = 0;
|
|
int get amount => _amount;
|
|
|
|
@override
|
|
void handle(data) {
|
|
_amount = data['amount'];
|
|
}
|
|
} |