MessageSearchOption constructor Null safety

MessageSearchOption(
  1. {int? startTime,
  2. int? endTime,
  3. int? limit,
  4. SearchOrder? order,
  5. List<NIMMessageType>? msgTypeList,
  6. List<int>? messageSubTypes,
  7. bool? allMessageTypes,
  8. required String? searchContent,
  9. List<String>? fromIds,
  10. bool? enableContentTransfer}
)

Implementation

MessageSearchOption(
    {this.startTime,
    this.endTime,
    this.limit,
    this.order,
    this.msgTypeList,
    this.messageSubTypes,
    this.allMessageTypes,
    required this.searchContent,
    this.fromIds,
    this.enableContentTransfer});