searchMembers method Null safety

Stream<Member> searchMembers(
  1. String query,
  2. {int limit = 1}
)

Returns a Stream of Members objects whose username or nickname starts with a provided string. By default limits to one entry - can be changed with limit parameter.

Implementation

Stream<Member> searchMembers(String query, {int limit = 1}) =>
    client.httpEndpoints.searchGuildMembers(this.id, query, limit: limit);