Person class

Constructors

Person({PersonLinks? links, PersonAgreement? agreement, DateTime? createdAt, String? email, bool? enabled, String? familyName, String? givenName, String? id, String? jobTitle, required bool optIn, PersonPreferences? preferences, String? telephone, String? type, DateTime? updatedAt, String? username})
Returns a new Person instance.

Properties

agreement PersonAgreement?
getter/setter pair
createdAt DateTime?
final
email String?
getter/setter pair
enabled bool?
getter/setter pair
familyName String?
getter/setter pair
givenName String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
final
jobTitle String?
getter/setter pair
getter/setter pair
optIn bool
getter/setter pair
preferences PersonPreferences?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
telephone String?
getter/setter pair
type String?
getter/setter pair
updatedAt DateTime?
final
username String?
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(Map<String, dynamic>? json) Person?
Returns a new Person instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<Person>
mapFromJson(Map<String, dynamic>? json) Map<String, Person>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<Person>>