UserData class Null safety

Constructors

UserData({String? externalUserId, String? firstName, String? lastName, String? middleName, Gender? gender, String? birthday, List<String>? phones, List<String>? emails, List<String>? tags, Map<String, dynamic>? customAttributes})
UserData.fromJson(Map<String, dynamic> json)

Properties

birthday String?
read / write
customAttributes Map<String, dynamic>?
read / write
emails List<String>?
read / write
externalUserId String?
read / write
firstName String?
read / write
gender Gender?
read / write
hashCode int
The hash code for this object.
read-onlyoverride
lastName String?
read / write
middleName String?
read / write
phones List<String>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tags List<String>?
read / write

Methods

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

Operators

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

Static Methods

resolveGender(String? str) Gender?
resolveLists(List? str) List<String>?