WantedPersonResultSet class

Represents a set of wanted persons from a query of the FBI's database.

Constructors

WantedPersonResultSet({int? total, int? page, List<WantedPerson>? wantedPersons})
Creates an WantedPersonResultSet object.
const
WantedPersonResultSet.empty()
Creates an empty WantedPersonResultSet object.
WantedPersonResultSet.fromJson(Map<String, dynamic> json)
Creates a WantedPersonResultSet object from a JSON object.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Whether or not this WantedPersonResultSet is empty.
no setter
isNotEmpty bool
Whether or not this WantedPersonResultSet is not empty.
no setter
page int?
The current page of wanted persons from the FBI's database.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int?
The total number of wanted persons in the FBI's database that matched the query parameters.
final
wantedPersons List<WantedPerson>?
The list of wanted persons.
final

Methods

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

Operators

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