of static method 
    
    
    
  Implementation
  static Pet of(
    {IReliveItContact? creator,
    required DateTime? dateCreated,
    ITaskFactForMModel? assistedTask,
    required MKey? contactKey,
    FlexiDate? birthday,
    required String? name,
    List<IImageContent>? photos,
    String? petType,
    String? info}) {
  final self = Pet(<String, dynamic>{}, mtype: PetRef, update: true);
  if (creator != null) self.creator = creator;
  if (dateCreated != null) self.dateCreated = dateCreated;
  if (assistedTask != null) self.assistedTask = assistedTask;
  if (contactKey != null) self.contactKey = contactKey;
  if (birthday != null) self.birthday = birthday;
  if (name != null) self.name = name;
  if (photos != null) self.photos = photos;
  if (petType != null) self.petType = petType;
  if (info != null) self.info = info;
  return self;
}