of static method

PlayerList of({
  1. int? count,
  2. List<IPlayer>? data,
})

Implementation

static PlayerList of({int? count, List<IPlayer>? data}) {
  final self =
      PlayerList(<String, dynamic>{}, mtype: PlayerListRef, update: true);
  if (count != null) self.count = count;
  if (data != null) self.data = data;
  return self;
}