TutorProfile class

Constructors

TutorProfile({List<TutorQualification> qualifications = const [], String? video, String? videoLink, String? photo, String? postcode, String? tagline, List<TutorSubject> subjects = const [], List<TutorAvailability> availability = const [], List<TutorTimeOff> timeOff = const [], String? dbsNumber, String? experience, int? experienceYears, String personalityType = '', String? address, bool? profilePhotoRejected, bool? onlineTutoring, bool? inPersonTutoring, required int tutorProfileId, bool? enableTrial, bool? enableInstant, LiveSessionTypeEnum? liveSessionType, int? school, String schoolName = '', bool? statementConfirmation, bool? handbook, String? tutorIDImage, String? tutorCv, int? country, int? id, required UserUpdate user, bool? hasBackendPhoto, bool? isSuperTutor, bool? hasStripeAccount, bool? isDbsChecked, List<String> incompleteSections = const [], bool? isLive, bool? hasWhiteboardAccess, bool? isHidden, List<int> coverage = const [], List<String> completedSections = const [], bool? metInPerson, int numReviews = 0, String responseTimeDisplay = '', bool? profileSubmitted, String userTimezone = ''})
Returns a new TutorProfile instance.

Properties

address String?
getter/setter pair
availability List<TutorAvailability>
getter/setter pair
completedSections List<String>
getter/setter pair
country int?
getter/setter pair
coverage List<int>
getter/setter pair
dbsNumber String?
getter/setter pair
enableInstant bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
enableTrial bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
experience String?
getter/setter pair
experienceYears int?
Minimum value: -2147483648 Maximum value: 2147483647
getter/setter pair
handbook bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hasBackendPhoto bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hasStripeAccount bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hasWhiteboardAccess bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
id int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
incompleteSections List<String>
getter/setter pair
inPersonTutoring bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isDbsChecked bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isHidden bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isLive bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isSuperTutor bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
liveSessionType LiveSessionTypeEnum?
Minimum value: 1.0 Maximum value: 2.0
getter/setter pair
metInPerson bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
numReviews int
getter/setter pair
onlineTutoring bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
personalityType String
getter/setter pair
photo String?
getter/setter pair
postcode String?
getter/setter pair
profilePhotoRejected bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
profileSubmitted bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
qualifications List<TutorQualification>
getter/setter pair
responseTimeDisplay String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
school int?
getter/setter pair
schoolName String
getter/setter pair
statementConfirmation bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
subjects List<TutorSubject>
getter/setter pair
tagline String?
getter/setter pair
timeOff List<TutorTimeOff>
getter/setter pair
tutorCv String?
getter/setter pair
tutorIDImage String?
getter/setter pair
tutorProfileId int
getter/setter pair
user UserUpdate
getter/setter pair
userTimezone String
getter/setter pair
video String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) TutorProfile?
Returns a new TutorProfile instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<TutorProfile>
mapFromJson(dynamic json) Map<String, TutorProfile>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<TutorProfile>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.