MFCameraPosition constructor
const
MFCameraPosition({})
Creates a immutable representation of the Map4dMap
camera.
AssertionError is thrown if bearing, target, tilt, or zoom are null.
Implementation
const MFCameraPosition({
this.bearing = 0.0,
required this.target,
this.tilt = 0.0,
this.zoom = 0.0,
}) : assert(bearing != null),
assert(target != null),
assert(tilt != null),
assert(zoom != null);