EventPublishConfig.fromJson constructor

EventPublishConfig.fromJson(
  1. Map json_
)

Implementation

EventPublishConfig.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        topic:
            json_.containsKey('topic') ? json_['topic'] as core.String : null,
      );