Rule.fromJson constructor

Rule.fromJson(
  1. Map json_
)

Implementation

Rule.fromJson(core.Map json_)
    : this(
        assetId: json_.containsKey('assetId')
            ? json_['assetId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        targetingTemplateId: json_.containsKey('targetingTemplateId')
            ? json_['targetingTemplateId'] as core.String
            : null,
      );