AdSize constructor

const AdSize(
  1. int width,
  2. int height
)

Represents the size of an ad.

The AdSize class is used to specify the width and height of an ad. It is a value object and is immutable.

Example usage:

AdSize adSize = AdSize(320, 50);

Implementation

const AdSize(this.width, this.height);