AisVessel constructor

AisVessel({
  1. required uint32_t mmsi,
  2. required int32_t lat,
  3. required int32_t lon,
  4. required uint16_t cog,
  5. required uint16_t heading,
  6. required uint16_t velocity,
  7. required uint16_t dimensionBow,
  8. required uint16_t dimensionStern,
  9. required uint16_t tslc,
  10. required AisFlags flags,
  11. required int8_t turnRate,
  12. required AisNavStatus navigationalStatus,
  13. required AisType type,
  14. required uint8_t dimensionPort,
  15. required uint8_t dimensionStarboard,
  16. required List<char> callsign,
  17. required List<char> name,
})

Implementation

AisVessel({
  required this.mmsi,
  required this.lat,
  required this.lon,
  required this.cog,
  required this.heading,
  required this.velocity,
  required this.dimensionBow,
  required this.dimensionStern,
  required this.tslc,
  required this.flags,
  required this.turnRate,
  required this.navigationalStatus,
  required this.type,
  required this.dimensionPort,
  required this.dimensionStarboard,
  required this.callsign,
  required this.name,
});