Map<String, dynamic> toJson() => { 'platform': platform, 'version': version, 'osName': osName, 'osVersion': osVersion, 'deviceModelName': deviceModelName, };