SearchUserDirectoryResponse.fromJson constructor

SearchUserDirectoryResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

SearchUserDirectoryResponse.fromJson(Map<String, Object?> json)
  : limited = json['limited'] as bool,
    results = (json['results'] as List)
        .map((v) => Profile.fromJson(v as Map<String, Object?>))
        .toList();