HTTPGetAction.fromJson constructor

HTTPGetAction.fromJson(
  1. Map json_
)

Implementation

HTTPGetAction.fromJson(core.Map json_)
  : this(
      host: json_['host'] as core.String?,
      httpHeaders: (json_['httpHeaders'] as core.List?)
          ?.map(
            (value) => HTTPHeader.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      path: json_['path'] as core.String?,
      port: json_['port'] as core.int?,
      scheme: json_['scheme'] as core.String?,
    );