toJson method
Returns a JSON-serializable representation of this object.
@returns A JSON-serializable representation of this object.
Implementation
Map<String, Object?> toJson() {
return {
'uid': uid,
'displayName': ?displayName,
'factorId': factorId._value,
'enrollmentTime': ?_formatDate(enrollmentTime),
};
}