Map<String, dynamic> toJson() { return <String, dynamic>{ 'os_name': osName, 'os_version': osVersion, 'locale': locale, 'sdk_version': sdkVersion, 'sdk_build_number': sdkBuildNumber, }; }