TriggerActionPayload.fromJson constructor

TriggerActionPayload.fromJson(
  1. Map json_
)

Implementation

TriggerActionPayload.fromJson(core.Map json_)
    : this(
        actionContext: json_.containsKey('actionContext')
            ? json_['actionContext'] as core.String
            : null,
        actionInput: json_.containsKey('actionInput')
            ? ActionInput.fromJson(
                json_['actionInput'] as core.Map<core.String, core.dynamic>)
            : null,
      );