toJson method

Map<String, dynamic> toJson()

Converts the EventSystemProperties to a JSON object. This is used to convert the object to a JSON object that can be sent to the server.

Implementation

Map<String, dynamic> toJson() {
  return {
    'appVersion': appVersion,
    'ipAddress': ipAddress,
    'device': device?.toJson(),
    'os': operatingSystem?.toJson(),
  };
}