of static method
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;
}