factory MessagingSessionEndpoint.fromJson(Map<String, dynamic> json) { return MessagingSessionEndpoint( url: json['Url'] as String?, ); }