Event.fromMap constructor

Event.fromMap(
  1. Map<String, Object?> obj
)

Implementation

Event.fromMap(super.obj)
    : body = obj['body'],
      event = obj['event'] as String,
      super.fromMap();