ModuleEventBody.fromMap constructor

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

Implementation

ModuleEventBody.fromMap(Map<String, Object?> obj)
    : module = Module.fromJson(obj['module'] as Map<String, Object?>),
      reason = obj['reason'] as String;