ApkDescription.fromJson constructor

ApkDescription.fromJson(
  1. Map json_
)

Implementation

ApkDescription.fromJson(core.Map json_)
    : this(
        assetSliceMetadata: json_.containsKey('assetSliceMetadata')
            ? SplitApkMetadata.fromJson(json_['assetSliceMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        instantApkMetadata: json_.containsKey('instantApkMetadata')
            ? SplitApkMetadata.fromJson(json_['instantApkMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        splitApkMetadata: json_.containsKey('splitApkMetadata')
            ? SplitApkMetadata.fromJson(json_['splitApkMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        standaloneApkMetadata: json_.containsKey('standaloneApkMetadata')
            ? StandaloneApkMetadata.fromJson(json_['standaloneApkMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        targeting: json_.containsKey('targeting')
            ? ApkTargeting.fromJson(
                json_['targeting'] as core.Map<core.String, core.dynamic>)
            : null,
      );