ImageAsset class
An image asset object.
Constructors
- ImageAsset({int? height, String? kind, String? name, String? url, int? width})
- ImageAsset.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int?
-
The height of the asset.
getter/setter pair
- kind ↔ String?
-
Uniquely identifies the type of this resource.
getter/setter pair
- name ↔ String?
-
The name of the asset.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String?
-
The URL of the asset.
getter/setter pair
- width ↔ int?
-
The width of the asset.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited