RedPacketInfo constructor

RedPacketInfo({
  1. RedPacketBase? info,
  2. List<String> recivers = const [],
  3. List<RedPacketGot> who = const [],
})

Implementation

RedPacketInfo({
  RedPacketBase? info,
  this.recivers = const [],
  this.who = const [],
}) {
  this.info = info ?? RedPacketBase();
}