AisVessel class

The location and information of an AIS vessel

AIS_VESSEL

Implemented types

Constructors

AisVessel({required uint32_t mmsi, required int32_t lat, required int32_t lon, required uint16_t cog, required uint16_t heading, required uint16_t velocity, required uint16_t dimensionBow, required uint16_t dimensionStern, required uint16_t tslc, required AisFlags flags, required int8_t turnRate, required AisNavStatus navigationalStatus, required AisType type, required uint8_t dimensionPort, required uint8_t dimensionStarboard, required List<char> callsign, required List<char> name})
AisVessel.parse(ByteData data_)
factory

Properties

callsign List<char>
The vessel callsign
final
cog uint16_t
Course over ground
final
dimensionBow uint16_t
Distance from lat/lon location to bow
final
dimensionPort uint8_t
Distance from lat/lon location to port side
final
dimensionStarboard uint8_t
Distance from lat/lon location to starboard side
final
dimensionStern uint16_t
Distance from lat/lon location to stern
final
flags AisFlags
Bitmask to indicate various statuses including valid data fields
final
hashCode int
The hash code for this object.
no setterinherited
heading uint16_t
True heading
final
lat int32_t
Latitude
final
lon int32_t
Longitude
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
mmsi uint32_t
Mobile Marine Service Identifier, 9 decimal digits
final
name List<char>
The vessel name
final
Navigational status
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tslc uint16_t
Time since last communication in seconds
final
turnRate int8_t
Turn rate
final
type AisType
Type of vessels
final
velocity uint16_t
Speed over ground
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int