Image class

Модель изображения

Annotations
  • @JsonSerializable.new()

Constructors

Image({String file = '', String popup = '', int width = 0, int height = 0})
Image.fromJson(Map<String, dynamic> json)
factory

Properties

file String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
getter/setter pair
isTiles bool
Проверка, является ли изображение тайлами
no setter
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
getter/setter pair

Methods

delete(String folder) Future<void>
Удаление изображения
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
update(String folder, String newFile, bool puzzle, bool popup) Future<void>
Обновление изображения

Operators

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