toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (sentence != null) {
_json[r'sentence'] = sentence;
}
if (type != null) {
_json[r'type'] = type;
}
if (selectionMode != null) {
_json[r'selectionMode'] = selectionMode;
}
if (mode != null) {
_json[r'mode'] = mode;
}
_json[r'satellites'] = satellites;
if (PDOP != null) {
_json[r'PDOP'] = PDOP;
}
if (HDOP != null) {
_json[r'HDOP'] = HDOP;
}
if (VDOP != null) {
_json[r'VDOP'] = VDOP;
}
if (talkerId != null) {
_json[r'talker_id'] = talkerId;
}
return _json;
}