of static method
Implementation
static PrepSchool of({
required String? name,
IImageContent? logo,
List<IPhase>? phases,
List<MKey>? parent,
String? mascot,
String? initials,
IPhysicalLocation? address
}) {
final self = PrepSchool(<String, dynamic>{}, mtype: PrepSchoolRef, update: true);
if (name != null) self.name = name;
if (logo != null) self.logo = logo;
if (phases != null) self.phases = phases;
if (parent != null) self.parent = parent;
if (mascot != null) self.mascot = mascot;
if (initials != null) self.initials = initials;
if (address != null) self.address = address;
return self;
}