InspectableEvent.fromMap constructor
Implementation
InspectableEvent.fromMap(Map<Object?, Object?> map)
: schema = map['schema'] as String?,
name = map['name'] as String?,
payload = Map<String, Object?>.from(
map['payload'] as Map<Object?, Object?>? ?? const {}),
entities = (map['entities'] as List<Object?>? ?? const [])
.map((e) => SelfDescribing.fromMap(
Map<String, Object?>.from(e as Map<Object?, Object?>)))
.toList();