fromJson static method
Implementation
static FoundUsers? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return FoundUsers(
userIds: List<int>.from(
((json['user_ids'] as List<dynamic>?) ?? <dynamic>[])
.map((item) =>
(item is int ? item : int.tryParse(item.toString()) ?? 0))
.toList()),
nextOffset: (json['next_offset'] as String?) ?? '',
);
}