LoginEvent constructor Null safety

LoginEvent(
  1. {String? ekey,
  2. String? newKey,
  3. String? key,
  4. required int loginTimestamp,
  5. required ReconnectConfiguration reconnectConfiguration,
  6. required int pingInterval,
  7. required int watchdogInterval,
  8. int? maxUnreadCountOnSuperGroup}
)

Implementation

LoginEvent({
  String? ekey,
  String? newKey,
  String? key,
  required this.loginTimestamp,
  required this.reconnectConfiguration,
  required this.pingInterval,
  required this.watchdogInterval,
  this.maxUnreadCountOnSuperGroup,
}) : super(
        ekey: ekey,
        newKey: newKey,
        key: key,
      );