WantedPersonFile class
Represents a file of a wanted person.
Constructors
- WantedPersonFile({String? url, String? name})
-
Creates a WantedPersonFile object.
const
- WantedPersonFile.empty()
- Creates an empty WantedPersonFile object.
-
WantedPersonFile.fromJson(Map<
String, dynamic> json) -
Creates a WantedPersonFile object from a JSON object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEmpty → bool
-
Whether or not this object is empty.
no setter
- isNotEmpty → bool
-
Whether or not this object is not empty.
no setter
- name → String?
-
The FBI API doesn't specify what this is, but it appears to be the
language of the file.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
The url of the file.
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