Selection constructor

Selection({
  1. required String id,
  2. required int x,
  3. required int y,
  4. required int w,
  5. required int h,
})

Represents the basic information of a selection inside a fire atlas file, containing its id and its coordinates and dimensions.

Implementation

Selection({
  required this.id,
  required this.x,
  required this.y,
  required this.w,
  required this.h,
});