NIMMessagePin constructor Null safety

NIMMessagePin(
  1. {required String sessionId,
  2. required NIMSessionType sessionType,
  3. String? messageFromAccount,
  4. String? messageToAccount,
  5. String? messageUuid,
  6. String? messageId,
  7. String? pinId,
  8. int? messageServerId,
  9. String? pinOperatorAccount,
  10. String? pinExt,
  11. int pinCreateTime = 0,
  12. int pinUpdateTime = 0}
)

Implementation

NIMMessagePin({
  required this.sessionId,
  required this.sessionType,
  this.messageFromAccount,
  this.messageToAccount,
  // this.messageTime = 0,
  this.messageUuid,
  this.messageId,
  this.pinId,
  this.messageServerId,
  this.pinOperatorAccount,
  this.pinExt,
  this.pinCreateTime = 0,
  this.pinUpdateTime = 0,
});