CreateEndpointResponse.fromJson constructor

CreateEndpointResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateEndpointResponse.fromJson(Map<String, dynamic> json) {
  return CreateEndpointResponse(
    endpoint: json['Endpoint'] != null
        ? Endpoint.fromJson(json['Endpoint'] as Map<String, dynamic>)
        : null,
  );
}