GeneratedAssetPackSlice.fromJson constructor

GeneratedAssetPackSlice.fromJson(
  1. Map json_
)

Implementation

GeneratedAssetPackSlice.fromJson(core.Map json_)
    : this(
        downloadId: json_.containsKey('downloadId')
            ? json_['downloadId'] as core.String
            : null,
        moduleName: json_.containsKey('moduleName')
            ? json_['moduleName'] as core.String
            : null,
        sliceId: json_.containsKey('sliceId')
            ? json_['sliceId'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );