RealtimeEndpointInfo.fromJson constructor
Implementation
factory RealtimeEndpointInfo.fromJson(Map<String, dynamic> json) {
return RealtimeEndpointInfo(
createdAt: timeStampFromJson(json['CreatedAt']),
endpointStatus:
(json['EndpointStatus'] as String?)?.toRealtimeEndpointStatus(),
endpointUrl: json['EndpointUrl'] as String?,
peakRequestsPerSecond: json['PeakRequestsPerSecond'] as int?,
);
}