PolicyTopic.fromJson constructor

PolicyTopic.fromJson(
  1. Map json_
)

Implementation

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