Picture class

Constructors

Picture({String? large, String? medium, String? thumbnail})
const
Picture.fromJson(String source)
It converts a JSON string into a Map object.
factory
Picture.fromMap(Map<String, dynamic> map)
It creates a new instance of the Picture class from a map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
large String?
final
medium String?
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
thumbnail String?
final

Methods

copyWith({String? large, String? medium, String? thumbnail}) Picture
If the caller passes in a value for a parameter, use that value, otherwise use the value of the corresponding field.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
It converts the object to a map.
toMap() Map<String, dynamic>
It converts the object into a map.
toString() String
A string representation of this object.
inherited

Operators

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