ScreenCoordinate constructor

const ScreenCoordinate(
  1. {@required int x,
  2. @required int y}
)

Creates an immutable representation of a point coordinate in the GoogleMap's view.

Implementation

const ScreenCoordinate({
  @required this.x,
  @required this.y,
});