img property

Img get img

Get the traffic event image

Returns

  • Traffic event image. The user is responsible to check if the image is valid

Throws

  • An exception if it fails.

Implementation

Img get img {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'TrafficEvent',
    'getImg',
  );

  return Img.init(resultString['result']);
}