HttpHeaderOption.fromJson constructor

HttpHeaderOption.fromJson(
  1. Map json_
)

Implementation

HttpHeaderOption.fromJson(core.Map json_)
    : this(
        headerName: json_.containsKey('headerName')
            ? json_['headerName'] as core.String
            : null,
        headerValue: json_.containsKey('headerValue')
            ? json_['headerValue'] as core.String
            : null,
        replace: json_.containsKey('replace')
            ? json_['replace'] as core.bool
            : null,
      );