UpdateUsersNearby.fromJson constructor

UpdateUsersNearby.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory UpdateUsersNearby.fromJson(Map<String, dynamic> json) => UpdateUsersNearby(
  usersNearby: List<ChatNearby>.from((json['users_nearby'] ?? []).map((item) => ChatNearby.fromJson(item)).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);