SelfManagedEventSource.fromJson constructor
Implementation
factory SelfManagedEventSource.fromJson(Map<String, dynamic> json) {
return SelfManagedEventSource(
endpoints: (json['Endpoints'] as Map<String, dynamic>?)?.map((k, e) =>
MapEntry(k.toEndPointType(),
(e as List).whereNotNull().map((e) => e as String).toList())),
);
}