FetchRemoteConfigRequest.fromJson constructor

FetchRemoteConfigRequest.fromJson(
  1. Map json_
)

Implementation

FetchRemoteConfigRequest.fromJson(core.Map json_)
    : this(
        analyticsUserProperties: json_.containsKey('analyticsUserProperties')
            ? (json_['analyticsUserProperties']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        appBuild: json_.containsKey('appBuild')
            ? json_['appBuild'] as core.String
            : null,
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        appInstanceId: json_.containsKey('appInstanceId')
            ? json_['appInstanceId'] as core.String
            : null,
        appInstanceIdToken: json_.containsKey('appInstanceIdToken')
            ? json_['appInstanceIdToken'] as core.String
            : null,
        appVersion: json_.containsKey('appVersion')
            ? json_['appVersion'] as core.String
            : null,
        countryCode: json_.containsKey('countryCode')
            ? json_['countryCode'] as core.String
            : null,
        firstOpenTime: json_.containsKey('firstOpenTime')
            ? json_['firstOpenTime'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        platformVersion: json_.containsKey('platformVersion')
            ? json_['platformVersion'] as core.String
            : null,
        sdkVersion: json_.containsKey('sdkVersion')
            ? json_['sdkVersion'] as core.String
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
      );