EndpointUser.fromJson constructor
Implementation
factory EndpointUser.fromJson(Map<String, dynamic> json) {
return EndpointUser(
userAttributes: (json['UserAttributes'] as Map<String, dynamic>?)?.map(
(k, e) => MapEntry(
k, (e as List).whereNotNull().map((e) => e as String).toList())),
userId: json['UserId'] as String?,
);
}