Event constructor Null safety

Event(
  1. {String? eventId,
  2. required int? eventType,
  3. required int? eventValue,
  4. String? config,
  5. required int? expiry,
  6. bool? broadcastOnlineOnly,
  7. bool? syncSelfEnable,
  8. String? publisherAccount,
  9. int? publishTime,
  10. int? publisherClientType,
  11. String? multiClientConfig,
  12. Map<int, String>? multiClientConfigMap,
  13. String? nimConfig}
)

Implementation

Event(
    {this.eventId,
    required this.eventType,
    required this.eventValue,
    this.config,
    required this.expiry,
    this.broadcastOnlineOnly,
    this.syncSelfEnable,
    this.publisherAccount,
    this.publishTime,
    this.publisherClientType,
    this.multiClientConfig,
    this.multiClientConfigMap,
    this.nimConfig});