Application.fromJson constructor

Application.fromJson(
  1. Map json_
)

Implementation

Application.fromJson(core.Map json_)
    : this(
        appPricing: json_.containsKey('appPricing')
            ? json_['appPricing'] as core.String
            : null,
        appTracks: json_.containsKey('appTracks')
            ? (json_['appTracks'] as core.List)
                .map((value) => AppTrackInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        appVersions: json_.containsKey('appVersions')
            ? (json_['appVersions'] as core.List)
                .map((value) => AppVersion.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        author: json_.containsKey('author')
            ? json_['author'] as core.String
            : null,
        availableCountries: json_.containsKey('availableCountries')
            ? (json_['availableCountries'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        contentRating: json_.containsKey('contentRating')
            ? json_['contentRating'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        distributionChannel: json_.containsKey('distributionChannel')
            ? json_['distributionChannel'] as core.String
            : null,
        features: json_.containsKey('features')
            ? (json_['features'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        fullDescription: json_.containsKey('fullDescription')
            ? json_['fullDescription'] as core.String
            : null,
        iconUrl: json_.containsKey('iconUrl')
            ? json_['iconUrl'] as core.String
            : null,
        managedProperties: json_.containsKey('managedProperties')
            ? (json_['managedProperties'] as core.List)
                .map((value) => ManagedProperty.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        minAndroidSdkVersion: json_.containsKey('minAndroidSdkVersion')
            ? json_['minAndroidSdkVersion'] as core.int
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        permissions: json_.containsKey('permissions')
            ? (json_['permissions'] as core.List)
                .map((value) => ApplicationPermission.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        playStoreUrl: json_.containsKey('playStoreUrl')
            ? json_['playStoreUrl'] as core.String
            : null,
        recentChanges: json_.containsKey('recentChanges')
            ? json_['recentChanges'] as core.String
            : null,
        screenshotUrls: json_.containsKey('screenshotUrls')
            ? (json_['screenshotUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        smallIconUrl: json_.containsKey('smallIconUrl')
            ? json_['smallIconUrl'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );