EndPoint.fromJson constructor

EndPoint.fromJson(
  1. Map json_
)

Implementation

EndPoint.fromJson(core.Map json_)
    : this(
        endpointUri: json_.containsKey('endpointUri')
            ? json_['endpointUri'] as core.String
            : null,
        headers: json_.containsKey('headers')
            ? (json_['headers'] as core.List)
                .map((value) => Header.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );