ManualTrigger.fromJson constructor

ManualTrigger.fromJson(
  1. Map json_
)

Implementation

ManualTrigger.fromJson(core.Map json_)
    : this(
        activationDurationMinutes:
            json_.containsKey('activationDurationMinutes')
                ? json_['activationDurationMinutes'] as core.String
                : null,
        advertiserId: json_.containsKey('advertiserId')
            ? json_['advertiserId'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        latestActivationTime: json_.containsKey('latestActivationTime')
            ? json_['latestActivationTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        triggerId: json_.containsKey('triggerId')
            ? json_['triggerId'] as core.String
            : null,
      );