GetMessagingSessionEndpointResponse.fromJson constructor

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

Implementation

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