ActionResponse.fromJson constructor

ActionResponse.fromJson(
  1. Map json_
)

Implementation

ActionResponse.fromJson(core.Map json_)
    : this(
        dialogAction: json_.containsKey('dialogAction')
            ? DialogAction.fromJson(
                json_['dialogAction'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        updatedWidget: json_.containsKey('updatedWidget')
            ? UpdatedWidget.fromJson(
                json_['updatedWidget'] as core.Map<core.String, core.dynamic>)
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );