toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deviceModelName != null) 'deviceModelName': deviceModelName!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (languageCodeFromWebview != null)
        'languageCodeFromWebview': languageCodeFromWebview!,
      if (languageCodeRaw != null) 'languageCodeRaw': languageCodeRaw!,
      if (screenResolutionHeight != null)
        'screenResolutionHeight': screenResolutionHeight!,
      if (screenResolutionWidth != null)
        'screenResolutionWidth': screenResolutionWidth!,
      if (timezone != null) 'timezone': timezone!,
    };