NewUserDetails.fromJson constructor
Implementation
factory NewUserDetails.fromJson(Map<String, Object?> json) {
return NewUserDetails(
applicationKeys: (json[r'applicationKeys'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
displayName: json[r'displayName'] as String?,
emailAddress: json[r'emailAddress'] as String? ?? '',
key: json[r'key'] as String?,
name: json[r'name'] as String?,
password: json[r'password'] as String?,
products: (json[r'products'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
self: json[r'self'] as String?,
);
}