toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'os': os,
    'osVersion': osVersion,
    'terminalTimeZone': terminalTimeZone,
    'secure': secure,
    'lastPingTime': lastPingTime.toIso8601String(),
    'latitude': latitude,
    'longitude': longitude,
    'data': data,
  };
}