ArtCrimeResultSet class
Represents a set of art crimes from a query of the FBI's database.
Constructors
-
ArtCrimeResultSet({int? total, int? page, List<
ArtCrime> ? artCrimes}) -
Creates an ArtCrimeResultSet object.
const
- ArtCrimeResultSet.empty()
- Creates an empty ArtCrimeResultSet object.
-
ArtCrimeResultSet.fromJson(Map<
String, dynamic> json) -
Creates an ArtCrimeResultSet object from a JSON object.
factory
Properties
-
artCrimes
→ List<
ArtCrime> ? -
The list of art crimes.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEmpty → bool
-
Whether or not this ArtCrimeResultSet is empty.
no setter
- isNotEmpty → bool
-
Whether or not this ArtCrimeResultSet is not empty.
no setter
- page → int?
-
The current page of art crimes 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 art crimes in the FBI's database that matched the
query parameters.
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