UsersUserKeys.fromJson constructor
Implementation
factory UsersUserKeys.fromJson(Map<String, Object?> json) {
return UsersUserKeys(
users: (json[r'users'] as List<Object?>?)
?.map(
(i) => User.fromJson(i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
userKeys: (json[r'userKeys'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
links: json[r'_links'] != null
? GenericLinks.fromJson(json[r'_links']! as Map<String, Object?>)
: null,
);
}