OSPolicyResourcePackageResourceMSI.fromJson constructor

OSPolicyResourcePackageResourceMSI.fromJson(
  1. Map _json
)

Implementation

OSPolicyResourcePackageResourceMSI.fromJson(core.Map _json)
    : this(
        properties: _json.containsKey('properties')
            ? (_json['properties'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        source: _json.containsKey('source')
            ? OSPolicyResourceFile.fromJson(
                _json['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );