Comics class

Основная модель комикса

Annotations
  • @JsonSerializable.new()

Constructors

Comics({int width = 1080, int height = 2160, List<Layer>? layers, List<Sound>? sounds})
Comics.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
getter/setter pair
layers List<Layer>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sounds List<Sound>
getter/setter pair
width int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save() Future<void>
Сохранение комикса
saveToFile(String filePath) Future<void>
Сохранение в файл
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

load() Future<Comics>
Загрузка комикса
loadFromFile(String filePath) Future<Comics>
Загрузка из файла