SearchStringsByPrefix class

Searches specified query by word prefixes in the provided strings. Returns 0-based positions of strings that matched. Can be called synchronously.

Returns FoundPositions.

Inheritance
Available Extensions

Constructors

SearchStringsByPrefix({required List<String> strings, required String query, required int limit, required bool return_none_for_empty_query, int? extra, int? clientId})
Searches specified query by word prefixes in the provided strings. Returns 0-based positions of strings that matched. Can be called synchronously

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
limit int
The maximum number of objects to return.
read / write
query String
Query to search for.
read / write
return_none_for_empty_query bool
Pass true to receive no results for an empty query.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
strings List<String>
The strings to search in for the query.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) SearchStringsByPrefix?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"searchStringsByPrefix"