PackageNameList.fromJson constructor

PackageNameList.fromJson(
  1. Map json_
)

Implementation

PackageNameList.fromJson(core.Map json_)
    : this(
        packageNames: json_.containsKey('packageNames')
            ? (json_['packageNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );