FoundUsers.fromJson constructor
Implementation
factory FoundUsers.fromJson(Map<String, Object?> json) {
return FoundUsers(
header: json[r'header'] as String?,
total: (json[r'total'] as num?)?.toInt(),
users: (json[r'users'] as List<Object?>?)
?.map((i) => UserPickerUser.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}