EndPoint.fromJson constructor
EndPoint.fromJson(
- 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,
);