ApkSet.fromJson constructor

ApkSet.fromJson(
  1. Map json_
)

Implementation

ApkSet.fromJson(core.Map json_)
    : this(
        apkDescription: json_.containsKey('apkDescription')
            ? (json_['apkDescription'] as core.List)
                .map((value) => ApkDescription.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        moduleMetadata: json_.containsKey('moduleMetadata')
            ? ModuleMetadata.fromJson(json_['moduleMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
      );